curl --request PATCH \
--url https://pria.praxislxp.com/api/user/presentations/{id}/title \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"title": "Redline Freight in 60 seconds"
}
'import requests
url = "https://pria.praxislxp.com/api/user/presentations/{id}/title"
payload = { "title": "Redline Freight in 60 seconds" }
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({title: 'Redline Freight in 60 seconds'})
};
fetch('https://pria.praxislxp.com/api/user/presentations/{id}/title', 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}/title",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'title' => 'Redline Freight in 60 seconds'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/user/presentations/{id}/title"
payload := strings.NewReader("{\n \"title\": \"Redline Freight in 60 seconds\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("x-access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://pria.praxislxp.com/api/user/presentations/{id}/title")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"Redline Freight in 60 seconds\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/presentations/{id}/title")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"Redline Freight in 60 seconds\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"presentationId": "<string>",
"title": "Redline Freight in 60 seconds",
"unchanged": true
}Rename a video
The owner renames the video. The title is trimmed and must be 1–120 characters of plain, one-line text: no < > { } or backtick, no web address, e-mail address or link, and nothing that reads like an instruction (a bare domain such as Booking.com is fine). The new title shows on the video page, in the chat card and the list, to your Digital Twin, and on your share links (a link’s page shows it the next time it is opened). It belongs to the video, not to a version: no new version is made, nothing is narrated again and no credits are used. A video file you already made keeps its name. When your Digital Twin later gives the video a new title of its own, that title replaces yours. Not while a version is being made (409 PRESENTATION_BUILDING: rename it when that version is ready; such a refusal normally does not count toward the limit). Owner only; renames and scene edits share the same limit of 30 per minute.
curl --request PATCH \
--url https://pria.praxislxp.com/api/user/presentations/{id}/title \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"title": "Redline Freight in 60 seconds"
}
'import requests
url = "https://pria.praxislxp.com/api/user/presentations/{id}/title"
payload = { "title": "Redline Freight in 60 seconds" }
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({title: 'Redline Freight in 60 seconds'})
};
fetch('https://pria.praxislxp.com/api/user/presentations/{id}/title', 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}/title",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'title' => 'Redline Freight in 60 seconds'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/user/presentations/{id}/title"
payload := strings.NewReader("{\n \"title\": \"Redline Freight in 60 seconds\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("x-access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://pria.praxislxp.com/api/user/presentations/{id}/title")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"Redline Freight in 60 seconds\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/presentations/{id}/title")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"Redline Freight in 60 seconds\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"presentationId": "<string>",
"title": "Redline Freight in 60 seconds",
"unchanged": true
}Authorizations
JWT token passed in x-access-token header
Path Parameters
Body
120"Redline Freight in 60 seconds"
Was this page helpful?