Add videos to showcase

Add videos to a showcase.

POST https://cotlet.dev/api/v1/vimeo/showcases/{showcase_id}/videos-to-showcases

write

Adds the videos you list and returns the new count. A video can be in several showcases. A video that is not public takes its visibility from the showcase privacy settings. A showcase with more than 100 videos cannot be custom sorted. It does not ask for confirmation by default because one call removes nothing and a second call can take the videos out.

Parameters

Parameters: add_videos_to_showcase
NameTypeDescription
showcase_id string required string Showcase ID from list_showcases or create_showcase.
video_ids string[] required string[] Video IDs from search_videos.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/vimeo/showcases/showcase_8c41d2/videos-to-showcases \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"video_ids":["video ids"]}'
Python
result = client.call("vimeo", "add_videos_to_showcase", {"showcase_id":"showcase_8c41d2","video_ids":["video ids"]})
Node.js
const result = await cotlet.call('vimeo', 'add_videos_to_showcase', {"showcase_id":"showcase_8c41d2","video_ids":["video ids"]});
CLI
cotlet call vimeo add_videos_to_showcase --data '{"showcase_id":"showcase_8c41d2","video_ids":["video ids"]}'

Example response

JSON

{
  "showcase_id": "8830012",
  "added": 2,
  "video_count": 4
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.