...
Field Name | Mandatory(M) /Optional(O) /Conditional(C) | Validations |
---|---|---|
Namename | M | Unique |
Descriptiondescription | O | |
Categorycategory | O | |
inputParametersinputs | O | outputParameters |
outputs | O |
Sample
...
TBD
Sample 2(Mandatory & Optional)
...
Request Headers:
Connection: keep-alive
Accept: application/json
Content-Type: application/json
USER_ID: cs0008
Content-Length: 342
User-Agent: Jakarta Commons-HttpClient/3.1
Host: 192.172.97.237:8080
POST http://192.172.97.237:8080/activityspec-api/v1.0/activity-spec
{
"name": "Stop_VNF",
"description": "Activity to Stop VNF",
"categoryList": [
"VNF"
],
"inputs": [
{
"name": "wait_time",
"type": "string"
}
],
"outputs": [
{
"name": "status",
"type": "string",
"value": "stopped"
}
]
}
Response Body
Response body is a JSON object (Content-Type: application/json) includes the following fields.
Field Name | Mandatory(M) /Optional(O) /Conditional(C) |
---|---|
InvariantUUID | Y |
UUID | Y |
Sample
TBD
HTTP Response Codes
HTTP Response Code | Description |
---|---|
200 | Success |
TBD | Mandatory Parameters Missing in the Request |
TBD | Parameters validation failure |
TBD | Parameter Invalid Format |