1. Publisher
MediaCP Cloud
  • Channel for customers
    • GET api/channels
      GET
    • POST api/channels
      POST
    • GET api/channels/{id}
      GET
    • PUT api/channels/{id}
      PUT
    • DELETE api/channels/{id}
      DELETE
  • Channel for tenants
    • GET api/tenants/channels
      GET
    • POST api/tenants/customers/{customer_id}/channels
      POST
  • Customer
    • GET api/customers
      GET
    • POST api/customers
      POST
    • GET api/customers/{id}
      GET
    • PUT api/customers/{id}
      PUT
    • DELETE api/customers/{id}
      DELETE
  • LiveEvent
    • GET api/live-events
      GET
    • POST api/live-events
      POST
    • GET api/live-events/{id}
      GET
    • PUT api/live-events/{id}
      PUT
    • DELETE api/live-events/{id}
      DELETE
  • 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
      GET
    • POST api/channels/{channel_id}/publishers
      POST
    • GET api/channels/{channel_id}/publishers/{id}
      GET
    • PUT api/channels/{channel_id}/publishers/{id}
      PUT
    • DELETE api/channels/{channel_id}/publishers/{id}
      DELETE
  • 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. Publisher

POST api/channels/{channel_id}/publishers

POST
/api/channels/{channel_id}/publishers

Request

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

Header Params

Body Params application/json

Examples

Responses

🟢200
text/plain
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/api/channels/a1bde314-5a18-4d94-a4c2-ef3b151cc923/publishers' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{"type":"youtube","custom":{"name":"gzwohlgrzbwlcrm","username":"eirqtjxpnjokzvm","password":"S8Zsi.QKnZSs\\=`","stream_key":"bsvwykwozhzsfqjlstrzlb"},"twitch":{"stream_key":"iiwkdiixofr","title":"iw","stream_url":"http:\/\/www.mcglynn.com\/voluptas-velit-aspernatur-nihil-voluptas-labore-nihil"},"icecast":{"name":"uaqsprktalceqkfubmtpfe","username":"syftqpxncjcllytafyvyw","password":"+^l.vmFqJmxZN;p`","host":"rqeuiubseoipqis","port":3287.3495,"mount":"jekxbjnomjbyjwuhoqoft"},"facebook":{"title":"oebnebcugk","description":"Dolorem earum et quia esse.","destination_id":"xqk","destination_name":"xdgvpkjylckeijmy","destination_type":"fpatlqmq","access_token":"aftneewfnzpjelxzjdpk","save_video":true},"youtube":{"title":"qetbxjaaxnlzdhnya","category":10,"description":"Adipisci beatae aut sint facilis et.","made_for_kids":false,"refresh_token":"hcfrzqncxmookh"}}'
Response Response Example
{"id":"a1ce7b1b-f7e3-4559-aa96-cc2d74e5f96f","type":"custom","name":""}
Previous
GET api/channels/{channel_id}/publishers
Next
GET api/channels/{channel_id}/publishers/{id}
Built with