Create backbone
POST/mt/monitor/v1/interconnect/backbones
You can create a backbone by providing a name.
Request
- application/json
Body
name stringrequired
Possible values: Value must match regular expression \S
Responses
- 200
- 400
- 409
- 500
Success
- application/json
- Schema
- Add a backbone
Schema
- any
{
"data": {
"id": "8c2f06b2-3e71-4833-9cc4-7c28af986630",
"name": "backbone_name9"
},
"requestId": "e1bff5ee-3478-4f74-bcac-ddf14670ef5d"
}
Bad Request
- application/json
- Schema
- Add a backbone with invalid payload
Schema
- any
{
"error": {
"errorCode": 50001,
"errorType": "VALIDATION_ERROR",
"httpStatus": 400,
"msg": "Backbone name is empty!"
},
"requestId": "432568e0-05e2-4baa-8595-ed6bb4f98b64"
}
Conflict
- application/json
- Schema
- Add an already existing backbone
Schema
- any
{
"error": {
"errorCode": 50003,
"errorType": "VALIDATION_ERROR",
"httpStatus": 409,
"msg": "Backbone with name already exists!"
},
"requestId": "432568e0-05e2-4baa-8595-ed6bb4f98b64"
}
Server Error
- application/json
- Schema
- Add backbone failed due to internal error
Schema
- any
{
"error": {
"errorCode": 50002,
"errorType": "INTERNAL_ERROR",
"httpStatus": 500,
"msg": "Failed to add Backbone in db"
},
"requestId": "432568e0-05e2-4baa-8595-ed6bb4f98b64"
}
Loading...