curl --request POST \
--url https://pria.praxislxp.com/api/user/presentations/{id}/brand/logo \
--header 'Content-Type: application/octet-stream' \
--header 'x-access-token: <api-key>' \
--data '<string>'import requests
url = "https://pria.praxislxp.com/api/user/presentations/{id}/brand/logo"
payload = "<string>"
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/octet-stream"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/octet-stream'},
body: '<string>'
};
fetch('https://pria.praxislxp.com/api/user/presentations/{id}/brand/logo', 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}/brand/logo",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "<string>",
CURLOPT_HTTPHEADER => [
"Content-Type: application/octet-stream",
"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}/brand/logo"
payload := strings.NewReader("<string>")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-access-token", "<api-key>")
req.Header.Add("Content-Type", "application/octet-stream")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://pria.praxislxp.com/api/user/presentations/{id}/brand/logo")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/octet-stream")
.body("<string>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/presentations/{id}/brand/logo")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/octet-stream'
request.body = "<string>"
response = http.request(request)
puts response.read_body{
"success": true,
"logo": {
"asset": "asset:0123456789abcdef01234567",
"w": 880,
"h": 240,
"onDark": true,
"variant": {
"asset": "<string>",
"w": 123,
"h": 123,
"onDark": true,
"auto": true
}
},
"variantRefused": "LOGO_CAP"
}Upload your logo for this video
The owner’s own logo, as the raw request body (any content type: the bytes decide the format). PNG, JPEG or WebP (an animated image gives its first frame); SVG only where the operator has switched it on (otherwise 415 LOGO_FORMAT “Please upload a PNG of your logo.”). At most 5 MB and 4096 px a side. The logo is trimmed to its ink, fitted inside 1920 × 512 and stored as a PNG with its transparency and no metadata. It must be at least 48 px on its short side and at most 12 times as wide as it is tall (or 2 times as tall as it is wide). An SVG is refused if it holds anything beyond plain shapes, paths and gradients (scripts, styles, text, images, links, external references, document type declarations). onDark says whether the logo is drawn for dark backgrounds; a dark logo of one colour also gets an automatic white version (variant, auto: true) for dark looks. Nothing about the video changes until the brand is saved. Owner only; 10 uploads per minute. Not available while brand colours are switched off (404).
curl --request POST \
--url https://pria.praxislxp.com/api/user/presentations/{id}/brand/logo \
--header 'Content-Type: application/octet-stream' \
--header 'x-access-token: <api-key>' \
--data '<string>'import requests
url = "https://pria.praxislxp.com/api/user/presentations/{id}/brand/logo"
payload = "<string>"
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/octet-stream"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/octet-stream'},
body: '<string>'
};
fetch('https://pria.praxislxp.com/api/user/presentations/{id}/brand/logo', 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}/brand/logo",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "<string>",
CURLOPT_HTTPHEADER => [
"Content-Type: application/octet-stream",
"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}/brand/logo"
payload := strings.NewReader("<string>")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-access-token", "<api-key>")
req.Header.Add("Content-Type", "application/octet-stream")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://pria.praxislxp.com/api/user/presentations/{id}/brand/logo")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/octet-stream")
.body("<string>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/presentations/{id}/brand/logo")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/octet-stream'
request.body = "<string>"
response = http.request(request)
puts response.read_body{
"success": true,
"logo": {
"asset": "asset:0123456789abcdef01234567",
"w": 880,
"h": 240,
"onDark": true,
"variant": {
"asset": "<string>",
"w": 123,
"h": 123,
"onDark": true,
"auto": true
}
},
"variantRefused": "LOGO_CAP"
}Authorizations
JWT token passed in x-access-token header
Path Parameters
Body
The body is of type file.
Was this page helpful?