|
|
@@ -21698,191 +21698,6 @@
|
|
|
"description": ""
|
|
|
}
|
|
|
}
|
|
|
- },
|
|
|
- "post": {
|
|
|
- "operationId": "dcim_cable_terminations_create",
|
|
|
- "description": "Post a list of cable termination objects.",
|
|
|
- "tags": [
|
|
|
- "dcim"
|
|
|
- ],
|
|
|
- "requestBody": {
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "$ref": "#/components/schemas/CableTerminationRequest"
|
|
|
- }
|
|
|
- },
|
|
|
- "multipart/form-data": {
|
|
|
- "schema": {
|
|
|
- "$ref": "#/components/schemas/CableTerminationRequest"
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "required": true
|
|
|
- },
|
|
|
- "security": [
|
|
|
- {
|
|
|
- "cookieAuth": []
|
|
|
- },
|
|
|
- {
|
|
|
- "tokenAuth": []
|
|
|
- }
|
|
|
- ],
|
|
|
- "responses": {
|
|
|
- "201": {
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "$ref": "#/components/schemas/CableTermination"
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "description": ""
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "put": {
|
|
|
- "operationId": "dcim_cable_terminations_bulk_update",
|
|
|
- "description": "Put a list of cable termination objects.",
|
|
|
- "tags": [
|
|
|
- "dcim"
|
|
|
- ],
|
|
|
- "requestBody": {
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "type": "array",
|
|
|
- "items": {
|
|
|
- "$ref": "#/components/schemas/CableTerminationRequest"
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "multipart/form-data": {
|
|
|
- "schema": {
|
|
|
- "type": "array",
|
|
|
- "items": {
|
|
|
- "$ref": "#/components/schemas/CableTerminationRequest"
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "required": true
|
|
|
- },
|
|
|
- "security": [
|
|
|
- {
|
|
|
- "cookieAuth": []
|
|
|
- },
|
|
|
- {
|
|
|
- "tokenAuth": []
|
|
|
- }
|
|
|
- ],
|
|
|
- "responses": {
|
|
|
- "200": {
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "type": "array",
|
|
|
- "items": {
|
|
|
- "$ref": "#/components/schemas/CableTermination"
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "description": ""
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "patch": {
|
|
|
- "operationId": "dcim_cable_terminations_bulk_partial_update",
|
|
|
- "description": "Patch a list of cable termination objects.",
|
|
|
- "tags": [
|
|
|
- "dcim"
|
|
|
- ],
|
|
|
- "requestBody": {
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "type": "array",
|
|
|
- "items": {
|
|
|
- "$ref": "#/components/schemas/CableTerminationRequest"
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "multipart/form-data": {
|
|
|
- "schema": {
|
|
|
- "type": "array",
|
|
|
- "items": {
|
|
|
- "$ref": "#/components/schemas/CableTerminationRequest"
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "required": true
|
|
|
- },
|
|
|
- "security": [
|
|
|
- {
|
|
|
- "cookieAuth": []
|
|
|
- },
|
|
|
- {
|
|
|
- "tokenAuth": []
|
|
|
- }
|
|
|
- ],
|
|
|
- "responses": {
|
|
|
- "200": {
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "type": "array",
|
|
|
- "items": {
|
|
|
- "$ref": "#/components/schemas/CableTermination"
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "description": ""
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "delete": {
|
|
|
- "operationId": "dcim_cable_terminations_bulk_destroy",
|
|
|
- "description": "Delete a list of cable termination objects.",
|
|
|
- "tags": [
|
|
|
- "dcim"
|
|
|
- ],
|
|
|
- "requestBody": {
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "type": "array",
|
|
|
- "items": {
|
|
|
- "$ref": "#/components/schemas/CableTerminationRequest"
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "multipart/form-data": {
|
|
|
- "schema": {
|
|
|
- "type": "array",
|
|
|
- "items": {
|
|
|
- "$ref": "#/components/schemas/CableTerminationRequest"
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "required": true
|
|
|
- },
|
|
|
- "security": [
|
|
|
- {
|
|
|
- "cookieAuth": []
|
|
|
- },
|
|
|
- {
|
|
|
- "tokenAuth": []
|
|
|
- }
|
|
|
- ],
|
|
|
- "responses": {
|
|
|
- "204": {
|
|
|
- "description": "No response body"
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
},
|
|
|
"/api/dcim/cable-terminations/{id}/": {
|
|
|
@@ -21923,142 +21738,6 @@
|
|
|
"description": ""
|
|
|
}
|
|
|
}
|
|
|
- },
|
|
|
- "put": {
|
|
|
- "operationId": "dcim_cable_terminations_update",
|
|
|
- "description": "Put a cable termination object.",
|
|
|
- "parameters": [
|
|
|
- {
|
|
|
- "in": "path",
|
|
|
- "name": "id",
|
|
|
- "schema": {
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "description": "A unique integer value identifying this cable termination.",
|
|
|
- "required": true
|
|
|
- }
|
|
|
- ],
|
|
|
- "tags": [
|
|
|
- "dcim"
|
|
|
- ],
|
|
|
- "requestBody": {
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "$ref": "#/components/schemas/CableTerminationRequest"
|
|
|
- }
|
|
|
- },
|
|
|
- "multipart/form-data": {
|
|
|
- "schema": {
|
|
|
- "$ref": "#/components/schemas/CableTerminationRequest"
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "required": true
|
|
|
- },
|
|
|
- "security": [
|
|
|
- {
|
|
|
- "cookieAuth": []
|
|
|
- },
|
|
|
- {
|
|
|
- "tokenAuth": []
|
|
|
- }
|
|
|
- ],
|
|
|
- "responses": {
|
|
|
- "200": {
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "$ref": "#/components/schemas/CableTermination"
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "description": ""
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "patch": {
|
|
|
- "operationId": "dcim_cable_terminations_partial_update",
|
|
|
- "description": "Patch a cable termination object.",
|
|
|
- "parameters": [
|
|
|
- {
|
|
|
- "in": "path",
|
|
|
- "name": "id",
|
|
|
- "schema": {
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "description": "A unique integer value identifying this cable termination.",
|
|
|
- "required": true
|
|
|
- }
|
|
|
- ],
|
|
|
- "tags": [
|
|
|
- "dcim"
|
|
|
- ],
|
|
|
- "requestBody": {
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "$ref": "#/components/schemas/PatchedCableTerminationRequest"
|
|
|
- }
|
|
|
- },
|
|
|
- "multipart/form-data": {
|
|
|
- "schema": {
|
|
|
- "$ref": "#/components/schemas/PatchedCableTerminationRequest"
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "security": [
|
|
|
- {
|
|
|
- "cookieAuth": []
|
|
|
- },
|
|
|
- {
|
|
|
- "tokenAuth": []
|
|
|
- }
|
|
|
- ],
|
|
|
- "responses": {
|
|
|
- "200": {
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "$ref": "#/components/schemas/CableTermination"
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "description": ""
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "delete": {
|
|
|
- "operationId": "dcim_cable_terminations_destroy",
|
|
|
- "description": "Delete a cable termination object.",
|
|
|
- "parameters": [
|
|
|
- {
|
|
|
- "in": "path",
|
|
|
- "name": "id",
|
|
|
- "schema": {
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "description": "A unique integer value identifying this cable termination.",
|
|
|
- "required": true
|
|
|
- }
|
|
|
- ],
|
|
|
- "tags": [
|
|
|
- "dcim"
|
|
|
- ],
|
|
|
- "security": [
|
|
|
- {
|
|
|
- "cookieAuth": []
|
|
|
- },
|
|
|
- {
|
|
|
- "tokenAuth": []
|
|
|
- }
|
|
|
- ],
|
|
|
- "responses": {
|
|
|
- "204": {
|
|
|
- "description": "No response body"
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
},
|
|
|
"/api/dcim/cables/": {
|
|
|
@@ -204463,7 +204142,8 @@
|
|
|
"readOnly": true
|
|
|
},
|
|
|
"cable": {
|
|
|
- "type": "integer"
|
|
|
+ "type": "integer",
|
|
|
+ "readOnly": true
|
|
|
},
|
|
|
"cable_end": {
|
|
|
"enum": [
|
|
|
@@ -204473,16 +204153,16 @@
|
|
|
"type": "string",
|
|
|
"description": "* `A` - A\n* `B` - B",
|
|
|
"x-spec-enum-id": "1db84f9b93b261c8",
|
|
|
+ "readOnly": true,
|
|
|
"title": "End"
|
|
|
},
|
|
|
"termination_type": {
|
|
|
- "type": "string"
|
|
|
+ "type": "string",
|
|
|
+ "readOnly": true
|
|
|
},
|
|
|
"termination_id": {
|
|
|
"type": "integer",
|
|
|
- "maximum": 9223372036854775807,
|
|
|
- "minimum": 0,
|
|
|
- "format": "int64"
|
|
|
+ "readOnly": true
|
|
|
},
|
|
|
"termination": {
|
|
|
"nullable": true,
|
|
|
@@ -204514,40 +204194,6 @@
|
|
|
"url"
|
|
|
]
|
|
|
},
|
|
|
- "CableTerminationRequest": {
|
|
|
- "type": "object",
|
|
|
- "description": "Adds support for custom fields and tags.",
|
|
|
- "properties": {
|
|
|
- "cable": {
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "cable_end": {
|
|
|
- "enum": [
|
|
|
- "A",
|
|
|
- "B"
|
|
|
- ],
|
|
|
- "type": "string",
|
|
|
- "description": "* `A` - A\n* `B` - B",
|
|
|
- "x-spec-enum-id": "1db84f9b93b261c8",
|
|
|
- "title": "End"
|
|
|
- },
|
|
|
- "termination_type": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "termination_id": {
|
|
|
- "type": "integer",
|
|
|
- "maximum": 9223372036854775807,
|
|
|
- "minimum": 0,
|
|
|
- "format": "int64"
|
|
|
- }
|
|
|
- },
|
|
|
- "required": [
|
|
|
- "cable",
|
|
|
- "cable_end",
|
|
|
- "termination_id",
|
|
|
- "termination_type"
|
|
|
- ]
|
|
|
- },
|
|
|
"Circuit": {
|
|
|
"type": "object",
|
|
|
"description": "Adds support for custom fields and tags.",
|
|
|
@@ -226099,34 +225745,6 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "PatchedCableTerminationRequest": {
|
|
|
- "type": "object",
|
|
|
- "description": "Adds support for custom fields and tags.",
|
|
|
- "properties": {
|
|
|
- "cable": {
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "cable_end": {
|
|
|
- "enum": [
|
|
|
- "A",
|
|
|
- "B"
|
|
|
- ],
|
|
|
- "type": "string",
|
|
|
- "description": "* `A` - A\n* `B` - B",
|
|
|
- "x-spec-enum-id": "1db84f9b93b261c8",
|
|
|
- "title": "End"
|
|
|
- },
|
|
|
- "termination_type": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "termination_id": {
|
|
|
- "type": "integer",
|
|
|
- "maximum": 9223372036854775807,
|
|
|
- "minimum": 0,
|
|
|
- "format": "int64"
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
"PatchedCircuitGroupRequest": {
|
|
|
"type": "object",
|
|
|
"description": "Adds support for custom fields and tags.",
|