Getting started
Content
- Articles
- Pronunciation rules
- Summarization settings
- Video settings
Distribution
Analytics
- Analytics
Monetization
- Ads
Organization
- Projects
Playlists
Update playlist
Playlists
Update playlist
Updates a playlist in a project
PUT
/
projects
/
{project_id}
/
playlists
/
{id}
curl --request PUT \
--url https://api.beyondwords.io/v1/projects/{project_id}/playlists/{id} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"title": "My playlist",
"enabled": true,
"type": "manual",
"content_limit": 25,
"content": [
{
"id": "d7dfd636-098c-4b1b-83e5-15a3cba5a0bd"
},
{
"id": "ed81a10c-83cd-4b1f-ab43-2aa1b4ffefc0"
},
{
"id": "1c0274ba-362d-4dea-8a34-5177061bf032"
}
]
}'
{
"id": 1,
"title": "My playlist",
"enabled": true,
"type": "manual",
"content_limit": 25,
"content": [
{
"id": "d7dfd636-098c-4b1b-83e5-15a3cba5a0bd",
"status": "processed",
"title": "Content title",
"source_id": "example-source-id",
"source_url": "https://example.com/some-article",
"author": "John Smith",
"image_url": "https://example.com/image.jpeg",
"metadata": {
"key": "value"
},
"audio": [
{
"id": 1,
"content_type": "application/vnd.apple.mpegurl",
"url": "https://example.com/audio.m3u8",
"duration": 10000
},
{
"id": 2,
"content_type": "audio/mpeg,",
"url": "https://example.com/audio.mp3",
"duration": 10000
}
],
"video": [
{
"id": 1,
"content_type": "video/mp4",
"url": "https://example.com/waveform-video.mp4",
"duration": 10000
}
],
"ads_enabled": true,
"created": "2023-01-01 00:00:00 UTC",
"updated": "2023-01-01 00:00:05 UTC"
}
],
"settings": null,
"created": "2023-01-01 00:00:00 UTC",
"updated": "2023-01-01 00:00:05 UTC"
}
Authorizations
Path Parameters
The numeric ID of your project
The numeric ID of your playlist
Body
application/json
Response
200 - application/json
successful
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.beyondwords.io/v1/projects/{project_id}/playlists/{id} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"title": "My playlist",
"enabled": true,
"type": "manual",
"content_limit": 25,
"content": [
{
"id": "d7dfd636-098c-4b1b-83e5-15a3cba5a0bd"
},
{
"id": "ed81a10c-83cd-4b1f-ab43-2aa1b4ffefc0"
},
{
"id": "1c0274ba-362d-4dea-8a34-5177061bf032"
}
]
}'
{
"id": 1,
"title": "My playlist",
"enabled": true,
"type": "manual",
"content_limit": 25,
"content": [
{
"id": "d7dfd636-098c-4b1b-83e5-15a3cba5a0bd",
"status": "processed",
"title": "Content title",
"source_id": "example-source-id",
"source_url": "https://example.com/some-article",
"author": "John Smith",
"image_url": "https://example.com/image.jpeg",
"metadata": {
"key": "value"
},
"audio": [
{
"id": 1,
"content_type": "application/vnd.apple.mpegurl",
"url": "https://example.com/audio.m3u8",
"duration": 10000
},
{
"id": 2,
"content_type": "audio/mpeg,",
"url": "https://example.com/audio.mp3",
"duration": 10000
}
],
"video": [
{
"id": 1,
"content_type": "video/mp4",
"url": "https://example.com/waveform-video.mp4",
"duration": 10000
}
],
"ads_enabled": true,
"created": "2023-01-01 00:00:00 UTC",
"updated": "2023-01-01 00:00:05 UTC"
}
],
"settings": null,
"created": "2023-01-01 00:00:00 UTC",
"updated": "2023-01-01 00:00:05 UTC"
}