- URL:
- https://<root>/services/create
- Methods:
POST- Version Introduced:
- 12.0
Description
The create operation creates a new video service. A service is created by submitting a JSON representation of the service to this operation. Video services primarily act as containers for video layers, which can be created with the Add Layer operation.
Request parameters
| Parameter | Details |
|---|---|
| The JSON representation of the service being created. Video Server only relies upon the Example |
(Required) | The response format. The default response format is Values: |
(Required) | Users interacting programmatically with this endpoint must generate a token that must be included as a request parameter. A token can be obtained using the Generate Token operation. |
Example usage
The following is a sample POST request for the create operation:
POST /<context>/admin/services/create HTTP/1.1
Host: organization.example.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
service={
"serviceName": "TestVideoService"
}JSON Response syntax
{
"status": "< success | failure >"
}JSON Response example
The following is a sample success response for the create operation, indicating that the service was created successfully:
{
"status": "success"
}