Edit a presentation
curl --request POST \
--url http://localhost:5001/api/v1/ppt/presentation/edit \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"presentation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slides": [
{
"index": 123,
"content": {}
}
]
}
'import requests
url = "http://localhost:5001/api/v1/ppt/presentation/edit"
payload = {
"presentation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slides": [
{
"index": 123,
"content": {}
}
]
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
presentation_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
slides: [{index: 123, content: {}}]
})
};
fetch('http://localhost:5001/api/v1/ppt/presentation/edit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"presentation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"path": "<string>",
"edit_path": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Edit Presentations
Edit a presentation
Apply new content to an existing presentation and return the updated result.
POST
/
api
/
v1
/
ppt
/
presentation
/
edit
Edit a presentation
curl --request POST \
--url http://localhost:5001/api/v1/ppt/presentation/edit \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"presentation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slides": [
{
"index": 123,
"content": {}
}
]
}
'import requests
url = "http://localhost:5001/api/v1/ppt/presentation/edit"
payload = {
"presentation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slides": [
{
"index": 123,
"content": {}
}
]
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
presentation_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
slides: [{index: 123, content: {}}]
})
};
fetch('http://localhost:5001/api/v1/ppt/presentation/edit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"presentation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"path": "<string>",
"edit_path": "<string>"
}{
"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.
Body
application/json
Was this page helpful?