cloudflare-docs icon indicating copy to clipboard operation
cloudflare-docs copied to clipboard

Include Documentation for Updating Video Titles

Open HBBrenum opened this issue 3 years ago • 0 comments

Which Cloudflare product(s) does this pertain to?

Stream

Subject Matter

Updating Video Title

Content Location

https://developers.cloudflare.com/stream/ https://api.cloudflare.com/#stream-videos-video-details

Additional information

This feature is mentioned in this thread but not actually documented, and the suggestion calls out both POST and PATCH methods, though only POST worked when I tested.

Ideally, there would be an example curl request, such as

curl \
-X POST \
-d '{"meta":{"name":"Updated Video Name"}}' \
-H "Authorization: Bearer $TOKEN" \
https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/stream/$VIDEOID

similar to the sections on updating creator ID and pulling/adding captions, maybe paired with the information for getting video details as documented in the API documentation.

HBBrenum avatar Jul 25 '22 17:07 HBBrenum