Get a presentation
curl --request GET \
--url http://localhost:5001/api/v1/ppt/presentation/{id} \
--header 'Authorization: Basic <encoded-value>'import requests
url = "http://localhost:5001/api/v1/ppt/presentation/{id}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('http://localhost:5001/api/v1/ppt/presentation/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"content": "<string>",
"n_slides": 123,
"language": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"slides": [
{
"presentation": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"layout_group": "<string>",
"layout": "<string>",
"index": 123,
"content": {},
"properties": {},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"html_content": "<string>",
"speaker_note": "<string>",
"ui": {}
}
],
"version": "<string>",
"title": "<string>",
"tone": "<string>",
"verbosity": "<string>",
"fonts": null
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Manage Presentations
Get a presentation
Return one presentation and its slides.
GET
/
api
/
v1
/
ppt
/
presentation
/
{id}
Get a presentation
curl --request GET \
--url http://localhost:5001/api/v1/ppt/presentation/{id} \
--header 'Authorization: Basic <encoded-value>'import requests
url = "http://localhost:5001/api/v1/ppt/presentation/{id}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('http://localhost:5001/api/v1/ppt/presentation/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"content": "<string>",
"n_slides": 123,
"language": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"slides": [
{
"presentation": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"layout_group": "<string>",
"layout": "<string>",
"index": 123,
"content": {},
"properties": {},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"html_content": "<string>",
"speaker_note": "<string>",
"ui": {}
}
],
"version": "<string>",
"title": "<string>",
"tone": "<string>",
"verbosity": "<string>",
"fonts": null
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
Response
Successful Response
Show child attributes
Show child attributes
Was this page helpful?