Adding metadata to videos after they're uploaded?

Is there any way we can add tags/metadata to an uploaded video?

This is interesting. I assumed there was one, but in the API Documentation I couldn’t find an ‘edit video’ section. It’s possible to edit the name of a video in the Cloudflare Dashboard so there must be an api call to do that (and attach the metadata), but it’s not documented. Maybe @renan or @zaid can shine a light on this.

I would also like to know if this is possible. We have a lot of videos uploaded to Cloudflare, and our metadata are used to associate these videos with a user. Since videos can change ownership, we would need to update metadata on Cloudflare to reflect the new ownership!

You can just send a PATCH/POST request with the new metadata via the API! :slight_smile:

I’ll make sure we can do this via the dashboard as well at some point in the coming months.


@renan Would you care positing a sample endpoint here? I can’t seem to find the right endpoint using a PATCH request.

Using this endpoint, POST works but PATCH fails:

The given error is:

    "result": null,
    "success": false,
    "errors": [
            "code": 10005,
            "message": "Bad Request"
    "messages": [
            "code": 10005,
            "message": "Invalid protocol: please use TUS for uploads (see for protocol details)."

please make this happen
it will be really helpful =)

A bit of a late reply, but I updated the Developer Docs to explain how to edit a video via the dashboard and the API.

Hope this helps!

1 Like

Thank you!

@dpena I updated this topic to include the tag #DocFeedback. Watch :bell: that tag to get other (automatic) Community feedback wrt docs.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.