processExtension
post
/ccadmin/v1/extensions/{id}
Process Extension. Activate/deactivate a previously uploaded Extension.
Request
Supported Media Types
- application/json
Path Parameters
- id
-
Type:
stringRequired:trueThe id of the Extension to process.
Body Parameter
Root Schema : processExtension_request
POST /ccadmin/v1/extensions/021be6f7-9b84-43ed-9d16-59358443d29f
- op
-
Type:
stringRequired:trueThe operation to perform, can be one of activate or deactivate.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : processExtension_response
- success
-
Type:
booleantrue if the Extension was successfully processed.
Example application/json
{
"success":true
}
Default Response
The error response
Body
Root Schema : errorModel
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code
Examples
Sample Request:
POST /ccadmin/v1/extensions/021be6f7-9b84-43ed-9d16-59358443d29f
Sample Response Payload returned by endpoint:
{"success": true}