Create Publisher
POST {{baseUrl}}/dialcode/v1/publisher/create
This API is associated with creating a publisher. A publisher owns the DIAL code.
The endpoint for Create Publisher is /dialcode/v1/publisher/create It points to knowledge-mw-service - v1/dialcode/publisher/create
Request Body
{"request"=>{"publisher"=>{"identifier"=>"sunbird_test_publisher_{{random_num}}", "name"=>"Sunbird Test Publisher"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Channel-ID | string | ||
Content-Type | string |
RESPONSES
status: OK
{"id":"api.publisher.create","ver":"1.0","ts":"2023-01-27T06:03:02.065Z","params":{"resmsgid":"41e29a10-9e08-11ed-827a-edd2af60aa77","msgid":"41e13a80-9e08-11ed-a17d-b3ade16c7a73","status":"successful","err":null,"errmsg":null},"responseCode":"OK","result":{"identifier":"sunbird_test_publisher"}}