curl --request GET \
--url https://pria.praxislxp.com/api/user/presentations/{id}/shares \
--header 'x-access-token: <api-key>'import requests
url = "https://pria.praxislxp.com/api/user/presentations/{id}/shares"
headers = {"x-access-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-access-token': '<api-key>'}};
fetch('https://pria.praxislxp.com/api/user/presentations/{id}/shares', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://pria.praxislxp.com/api/user/presentations/{id}/shares",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/user/presentations/{id}/shares"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-access-token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://pria.praxislxp.com/api/user/presentations/{id}/shares")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/presentations/{id}/shares")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-access-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"shares": [
{
"shareId": "<string>",
"url": "https://pria.praxis-ai.com/share#3q2-7wAbCdEfGhIjKlMnOpQrStUvWxYz0123456789_-A",
"path": "/share#3q2-7wAbCdEfGhIjKlMnOpQrStUvWxYz0123456789_-A",
"label": "Acme — Bob",
"audience": "public",
"revision": {
"number": 123,
"version": 123
},
"expiresAt": "2023-11-07T05:31:56Z",
"revokedAt": "2023-11-07T05:31:56Z",
"state": "live",
"reason": "turned_off",
"viewCount": 123,
"lastViewedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"download": {
"mp4": true,
"vtt": true
}
}
],
"policy": {
"audiences": [
"public"
]
},
"latest": {
"number": 123,
"version": 123,
"shareable": true
},
"shareableExport": {
"22": true
}
}Your share links of this presentation
Newest first, including turned-off and expired links until they are removed (30 days after they ended). Each link carries its url (absolute) and path (/share#<token>): the token is in the fragment, never sent to a server. policy.audiences: who this twin’s admins allow a link for. latest: the current version and whether it can be shared (narration ready, not being built). shareableExport: the pinned versions (by revision number) that have an MP4 viewers may download. Owner only (admins, other members and impersonated sessions get 404). url is null when the server has no app address configured (compose it from your own origin + path); url and path are null for a link that can no longer open (reason: reset). Only a live link reports downloads.
curl --request GET \
--url https://pria.praxislxp.com/api/user/presentations/{id}/shares \
--header 'x-access-token: <api-key>'import requests
url = "https://pria.praxislxp.com/api/user/presentations/{id}/shares"
headers = {"x-access-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-access-token': '<api-key>'}};
fetch('https://pria.praxislxp.com/api/user/presentations/{id}/shares', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://pria.praxislxp.com/api/user/presentations/{id}/shares",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/user/presentations/{id}/shares"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-access-token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://pria.praxislxp.com/api/user/presentations/{id}/shares")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/presentations/{id}/shares")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-access-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"shares": [
{
"shareId": "<string>",
"url": "https://pria.praxis-ai.com/share#3q2-7wAbCdEfGhIjKlMnOpQrStUvWxYz0123456789_-A",
"path": "/share#3q2-7wAbCdEfGhIjKlMnOpQrStUvWxYz0123456789_-A",
"label": "Acme — Bob",
"audience": "public",
"revision": {
"number": 123,
"version": 123
},
"expiresAt": "2023-11-07T05:31:56Z",
"revokedAt": "2023-11-07T05:31:56Z",
"state": "live",
"reason": "turned_off",
"viewCount": 123,
"lastViewedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"download": {
"mp4": true,
"vtt": true
}
}
],
"policy": {
"audiences": [
"public"
]
},
"latest": {
"number": 123,
"version": 123,
"shareable": true
},
"shareableExport": {
"22": true
}
}Authorizations
JWT token passed in x-access-token header
Path Parameters
Was this page helpful?