Restarting the Encoding Server
URI
POST /v1/{project_id}/cloud-phone/encode-servers/batch-restart
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Specifies the project ID. For details about how to obtain the project ID, see Obtaining a Project ID. |
Request
- Parameter description
Parameter
Mandatory
Type
Description
encode_server_ids
Yes
Array of strings
Specifies the ID of the encoding server to be restarted.
- Example request
POST https://{CPH Endpoint}/v1/{project_id}/cloud-phone/encode-servers/batch-restart { "encode_server_ids": [ "d5cfa92995da40168c39b38d2aa478b3", "00b00d1b35094f13b360cdfe15a9bfee" ] }
Response
- Response parameters
Parameter
Type
Description
request_id
String
Specifies the request ID, which is unique.
jobs
Array of objects
Specifies the task information. For details, see Table 2.
- Example response
{ "jobs": [ { "job_id": "e9d7b1a2572c4f2c9bf056a3d1b35e39", "encode_server_id": "d5cfa92995da40168c39b38d2aa478b3" }, { "job_id": "4d0a42447cac4c9697b97f07934b74bd", "encode_server_id": "00b00d1b35094f13b360cdfe15a9bfee" } ], "request_id": "c775bdf09bc0400a9138199b346cab62" }
Returned Values
See Returned Values.
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot