1. MediaContent
MediaCP Cloud
  • Documentation
    • Channel for customers
      • getApiChannels
      • postApiChannels
      • getApiChannelsId
      • putApiChannelsId
      • deleteApiChannelsId
    • Channel for tenants
      • getApiTenantsChannels
      • postApiTenantsCustomersCustomer_idChannels
    • Customer
      • getApiCustomers
      • postApiCustomers
      • getApiCustomersId
      • putApiCustomersId
      • deleteApiCustomersId
    • LiveEvent
      • postApiLiveEvents
      • getApiLiveEventsId
      • deleteApiLiveEventsId
      • getApiLiveEvents
      • putApiLiveEventsId
    • MediaContent
      • Download
      • PUT api/media-contents/{id}/uploaded
      • getApiMediaContents
      • postApiMediaContents
      • getApiMediaContentsId
      • putApiMediaContentsId
      • deleteApiMediaContentsId
    • MediaContent Tags
      • List tags attached to a MediaContent.
      • Attach a tag to a MediaContent.
      • Detach a tag from a MediaContent.
      • GET api/tags
      • POST api/tags
      • GET api/tags/{tag}
      • PUT,PATCH api/tags/{tag}
      • DELETE api/tags/{tag}
      • GET api/media-contents/{mediaContent}/tags
      • POST api/media-contents/{mediaContent}/tags
      • DELETE api/media-contents/{mediaContent}/tags/{tag}
    • Plan
      • getApiPlans
      • postApiPlans
      • getApiPlansId
      • putApiPlansId
      • deleteApiPlansId
    • Publisher
      • getApiChannelsChannel_idPublishers
      • postApiChannelsChannel_idPublishers
      • getApiChannelsChannel_idPublishersId
      • putApiChannelsChannel_idPublishersId
      • deleteApiChannelsChannel_idPublishersId
    • Team member
      • getApiTeamMembers
      • postApiTeamMembers
      • getApiTeamMembersId
      • putApiTeamMembersId
      • deleteApiTeamMembersId
  • MCP Cloud Video
    • Channel for customers
      • GET api/channels
      • POST api/channels
      • GET api/channels/{id}
      • PUT api/channels/{id}
      • DELETE api/channels/{id}
    • Channel for tenants
      • GET api/tenants/channels
      • POST api/tenants/customers/{customer_id}/channels
    • Customer
      • GET api/customers
      • POST api/customers
      • GET api/customers/{id}
      • PUT api/customers/{id}
      • DELETE api/customers/{id}
    • LiveEvent
      • GET api/live-events
      • POST api/live-events
      • GET api/live-events/{id}
      • PUT api/live-events/{id}
      • DELETE api/live-events/{id}
    • MediaContent
      • Download
        GET
      • PUT api/media-contents/{id}/uploaded
        PUT
      • GET api/media-contents
        GET
      • POST api/media-contents
        POST
      • GET api/media-contents/{id}
        GET
      • PUT api/media-contents/{id}
        PUT
      • DELETE api/media-contents/{id}
        DELETE
    • MediaContent Tags
      • GET api/tags
      • POST api/tags
      • GET api/tags/{tag}
      • PUT,PATCH api/tags/{tag}
      • DELETE api/tags/{tag}
      • GET api/media-contents/{mediaContent}/tags
      • POST api/media-contents/{mediaContent}/tags
      • DELETE api/media-contents/{mediaContent}/tags/{tag}
    • Plan
      • GET api/plans
      • POST api/plans
      • GET api/plans/{id}
      • PUT api/plans/{id}
      • DELETE api/plans/{id}
    • Publisher
      • GET api/channels/{channel_id}/publishers
      • POST api/channels/{channel_id}/publishers
      • GET api/channels/{channel_id}/publishers/{id}
      • PUT api/channels/{channel_id}/publishers/{id}
      • DELETE api/channels/{channel_id}/publishers/{id}
    • Team member
      • GET api/team-members
      • POST api/team-members
      • GET api/team-members/{id}
      • PUT api/team-members/{id}
      • DELETE api/team-members/{id}
  1. MediaContent

POST api/media-contents

POST
/api/media-contents

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Body Params application/json

Examples

Responses

🟢200
text/plain
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/api/media-contents' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{"name":"mhzsohzelnd","summary":"jnqdjdkrbdmrarwsf","published":true,"url":"http:\/\/flatley.net\/","customer_id":"et"}'
Response Response Example
{"id":"a1ce7b19-82e5-4299-a814-70ea547a0513","name":"b","summary":"Quo molestias nihil voluptas dolorum quia enim a. Delectus voluptas velit ab et. Commodi optio quam qui temporibus sed. Id officia ducimus minus aut optio ex distinctio.","bitrate":0,"width":400,"height":400,"size":50786197,"total_size":0,"status":"valid","published":true,"views":0,"duration":"17:34","stream_url":"https:\/\/minio.mediacp.test.net:9005\/local\/hls\/\/tmp\/fakertJcpqY\/master.m3u8","created_at":"2026-05-18T05:26:46.000000Z","upload_url":null}
Previous
GET api/media-contents
Next
GET api/media-contents/{id}
Built with