Skip to Content

TwentyThree™ API

API Method: /api/photo/section/set-thumbnail

Set the thumbnail for a specified section within a video.

Parameters

ParameterDescription
photo_id (required) The ID of the video with the section.
section_id (required) The ID of the section to be updated.
file (required) The photo file to use for thumbnails for the section.

Permission level

The minimum required permission level is:

write

Example XML Response

<response status="ok" permission_level="write" 
  message="The thumbnail for the section was changed" cached="0"/>

Example JSON Response

{
  "status": "ok", 
  "message":"The thumbnail for the section was changed",
  "permission_level":"write",
  "cached":"0",
  "photo":{},
  "p": "1",
  "size": "1",
  "site": { ... },
  "endpoint": "/api/photo/section/set-thumbnail"
}