List presentations
curl --request GET \
--url http://localhost:5001/api/v1/ppt/presentation/all \
--header 'Authorization: Basic <encoded-value>'import requests
url = "http://localhost:5001/api/v1/ppt/presentation/all"
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/all', 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
Presentations (self-hosted)
List presentations stored by this Presenton instance.
GET
/
api
/
v1
/
ppt
/
presentation
/
all
List presentations
curl --request GET \
--url http://localhost:5001/api/v1/ppt/presentation/all \
--header 'Authorization: Basic <encoded-value>'import requests
url = "http://localhost:5001/api/v1/ppt/presentation/all"
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/all', 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.
Query Parameters
Only include presentations matching this version.
Available options:
v1-standard, v2-standard Include the first slide for dashboard previews. Disable this for metadata-only presentation lists.
Response
Successful Response
Show child attributes
Show child attributes
Was this page helpful?