Skip to content

Batch Restart App ​

Batch restart app.

Interface Address:

text
/papi/container/operate/batch/restartApp

Request Method:

text
POST

Content-Type:

text
application/json

Header Parameters:

ParameterTypeRequiredDescription
X-Access-KeystringYesAPI access key ID. See API Rules for authentication
X-SignaturestringYesSignature value, Base64-encoded HMAC-SHA256 result
X-TimestampstringYesMillisecond-level Unix timestamp (13 digits)
X-NoncestringYesRandom string, 10-32 lowercase letters and digits

Body Parameters:

ParameterTypeRequiredDescription
ctrIdListarray[string]YesContainer ID
md5stringYesApp MD5

Request Example:

json
{
  "ctrIdList": [
    "cf5eaa177d75de7f43a0d95c84832560b70118e462dc2eb8da529a936d8c3c6f"
  ],
  "md5": "bb140e9e89c4513826bc400e8bff3740"
}

Response Parameters:

ParameterTypeDescription
codeintegerError code. See Error Codes
databooleanResponse data
msgstringError message

Response Example:

json
{
  "code": 0,
  "data": true,
  "msg": ""
}

OpenAPI Docs