Get one presentation video and its versions
curl --request GET \
--url https://pria.praxislxp.com/api/user/presentations/{id} \
--header 'x-access-token: <api-key>'import requests
url = "https://pria.praxislxp.com/api/user/presentations/{id}"
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}', 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}",
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}"
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}")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/presentations/{id}")
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,
"access": "owner",
"presentation": {
"_id": "<string>",
"title": "Q3 in 60 seconds",
"status": "building",
"failureCode": "BUILD_STALE",
"narrationCapMinutes": 30,
"headRevision": 22,
"headVersion": 1,
"estimateCredits": 15,
"estimateLow": 10,
"stoppedAt": "2023-11-07T05:31:56Z",
"stopReason": "STOP",
"stopAvailable": true,
"headStopped": true,
"buildTurnKey": "<string>",
"costIncluded": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"revisions": [
{
"number": 22,
"version": 1,
"parent": 21,
"authorRole": "designer",
"reason": "<string>",
"rendererVersion": "1.0.0",
"createdAt": "2023-11-07T05:31:56Z",
"narration": {
"status": "none"
},
"presenter": {
"status": "queued"
}
}
],
"length": {
"seconds": 180,
"waits": {
"build": [
10,
20
],
"faceS": 540,
"exportS": 180
},
"pollMinutes": {
"build": 30,
"face": 25
}
}
}Presentations
Get one presentation video and its versions
Your presentation and its versions (newest first, without their content). An administrator of the presentation’s Digital Twin may read it for support; every such read is recorded.
GET
/
api
/
user
/
presentations
/
{id}
Get one presentation video and its versions
curl --request GET \
--url https://pria.praxislxp.com/api/user/presentations/{id} \
--header 'x-access-token: <api-key>'import requests
url = "https://pria.praxislxp.com/api/user/presentations/{id}"
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}', 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}",
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}"
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}")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/presentations/{id}")
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,
"access": "owner",
"presentation": {
"_id": "<string>",
"title": "Q3 in 60 seconds",
"status": "building",
"failureCode": "BUILD_STALE",
"narrationCapMinutes": 30,
"headRevision": 22,
"headVersion": 1,
"estimateCredits": 15,
"estimateLow": 10,
"stoppedAt": "2023-11-07T05:31:56Z",
"stopReason": "STOP",
"stopAvailable": true,
"headStopped": true,
"buildTurnKey": "<string>",
"costIncluded": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"revisions": [
{
"number": 22,
"version": 1,
"parent": 21,
"authorRole": "designer",
"reason": "<string>",
"rendererVersion": "1.0.0",
"createdAt": "2023-11-07T05:31:56Z",
"narration": {
"status": "none"
},
"presenter": {
"status": "queued"
}
}
],
"length": {
"seconds": 180,
"waits": {
"build": [
10,
20
],
"faceS": 540,
"exportS": 180
},
"pollMinutes": {
"build": 30,
"face": 25
}
}
}Authorizations
JWT token passed in x-access-token header
Path Parameters
Response
The presentation
Example:
true
Available options:
owner, admin Show child attributes
Show child attributes
One row per version (a unit of work: one build, fix rounds included, or one edit), newest first; each row is the version's newest revision
Show child attributes
Show child attributes
Only for a video longer than 1 minute (absent for a 1-minute or older video): its length and the waits that go with it — the same object as the version read's length, here so a first build is known before any version is saved
Show child attributes
Show child attributes
Was this page helpful?