UNPKG

@itentialopensource/adapter-netbox_v210

Version:

This adapter integrates with system described as: Netbox v2.10

1,912 lines (1,911 loc) 1.66 MB
{ "openapi": "3.0.0", "info": { "title": "NetBox API", "description": "API to access NetBox", "contact": {}, "version": "2.10" }, "servers": [ { "url": "https://netbox.core-services.test.leaseplan.systems/api", "variables": {} } ], "paths": { "/circuits/circuit-terminations/": { "get": { "tags": [ "circuits" ], "summary": "circuits_circuit-terminations_list", "operationId": "circuits_circuit-terminations_list", "parameters": [ { "name": "term_side", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "port_speed", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "upstream_speed", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "xconnect_id", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "cabled", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "connected", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "q", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "circuit_id", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "site_id", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "site", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "term_side__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "port_speed__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "port_speed__lte", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "port_speed__lt", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "port_speed__gte", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "port_speed__gt", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "upstream_speed__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "upstream_speed__lte", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "upstream_speed__lt", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "upstream_speed__gte", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "upstream_speed__gt", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "xconnect_id__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "xconnect_id__ic", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "xconnect_id__nic", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "xconnect_id__iew", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "xconnect_id__niew", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "xconnect_id__isw", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "xconnect_id__nisw", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "xconnect_id__ie", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "xconnect_id__nie", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "circuit_id__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "site_id__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "site__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "description": "Number of results to return per page.", "style": "form", "explode": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "offset", "in": "query", "description": "The initial index from which to return the results.", "style": "form", "explode": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/circuits_circuit-terminations_listResponse" } } } } }, "deprecated": false }, "post": { "tags": [ "circuits" ], "summary": "circuits_circuit-terminations_create", "operationId": "circuits_circuit-terminations_create", "parameters": [], "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WritableCircuitTermination" } } }, "required": true }, "responses": { "201": { "description": "", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CircuitTermination" } } } } }, "deprecated": false }, "put": { "tags": [ "circuits" ], "summary": "circuits_circuit-terminations_bulk_update", "operationId": "circuits_circuit-terminations_bulk_update", "parameters": [], "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WritableCircuitTermination" } } }, "required": true }, "responses": { "200": { "description": "", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CircuitTermination" } } } } }, "deprecated": false }, "patch": { "tags": [ "circuits" ], "summary": "circuits_circuit-terminations_bulk_partial_update", "operationId": "circuits_circuit-terminations_bulk_partial_update", "parameters": [], "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WritableCircuitTermination" } } }, "required": true }, "responses": { "200": { "description": "", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CircuitTermination" } } } } }, "deprecated": false }, "delete": { "tags": [ "circuits" ], "summary": "circuits_circuit-terminations_bulk_delete", "operationId": "circuits_circuit-terminations_bulk_delete", "parameters": [], "responses": { "204": { "description": "", "headers": {}, "content": {} } }, "deprecated": false } }, "/circuits/circuit-terminations/{id}/": { "get": { "tags": [ "circuits" ], "summary": "circuits_circuit-terminations_read", "operationId": "circuits_circuit-terminations_read", "parameters": [ { "name": "id", "in": "path", "description": "A unique integer value identifying this circuit termination.", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CircuitTermination" } } } } }, "deprecated": false }, "put": { "tags": [ "circuits" ], "summary": "circuits_circuit-terminations_update", "operationId": "circuits_circuit-terminations_update", "parameters": [ { "name": "id", "in": "path", "description": "A unique integer value identifying this circuit termination.", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WritableCircuitTermination" } } }, "required": true }, "responses": { "200": { "description": "", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CircuitTermination" } } } } }, "deprecated": false }, "patch": { "tags": [ "circuits" ], "summary": "circuits_circuit-terminations_partial_update", "operationId": "circuits_circuit-terminations_partial_update", "parameters": [ { "name": "id", "in": "path", "description": "A unique integer value identifying this circuit termination.", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WritableCircuitTermination" } } }, "required": true }, "responses": { "200": { "description": "", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CircuitTermination" } } } } }, "deprecated": false }, "delete": { "tags": [ "circuits" ], "summary": "circuits_circuit-terminations_delete", "operationId": "circuits_circuit-terminations_delete", "parameters": [ { "name": "id", "in": "path", "description": "A unique integer value identifying this circuit termination.", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "204": { "description": "", "headers": {}, "content": {} } }, "deprecated": false } }, "/circuits/circuit-terminations/{id}/trace/": { "get": { "tags": [ "circuits" ], "summary": "circuits_circuit-terminations_trace", "description": "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).", "operationId": "circuits_circuit-terminations_trace", "parameters": [ { "name": "id", "in": "path", "description": "A unique integer value identifying this circuit termination.", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CircuitTermination" } } } } }, "deprecated": false } }, "/circuits/circuit-types/": { "get": { "tags": [ "circuits" ], "summary": "circuits_circuit-types_list", "operationId": "circuits_circuit-types_list", "parameters": [ { "name": "id", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "name", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "slug", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "q", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "id__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "id__lte", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "id__lt", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "id__gte", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "id__gt", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "name__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "name__ic", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "name__nic", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "name__iew", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "name__niew", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "name__isw", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "name__nisw", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "name__ie", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "name__nie", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "slug__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "slug__ic", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "slug__nic", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "slug__iew", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "slug__niew", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "slug__isw", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "slug__nisw", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "slug__ie", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "slug__nie", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "description": "Number of results to return per page.", "style": "form", "explode": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "offset", "in": "query", "description": "The initial index from which to return the results.", "style": "form", "explode": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/circuits_circuit-types_listResponse" } } } } }, "deprecated": false }, "post": { "tags": [ "circuits" ], "summary": "circuits_circuit-types_create", "operationId": "circuits_circuit-types_create", "parameters": [], "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CircuitType" } } }, "required": true }, "responses": { "201": { "description": "", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CircuitType" } } } } }, "deprecated": false }, "put": { "tags": [ "circuits" ], "summary": "circuits_circuit-types_bulk_update", "operationId": "circuits_circuit-types_bulk_update", "parameters": [], "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CircuitType" } } }, "required": true }, "responses": { "200": { "description": "", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CircuitType" } } } } }, "deprecated": false }, "patch": { "tags": [ "circuits" ], "summary": "circuits_circuit-types_bulk_partial_update", "operationId": "circuits_circuit-types_bulk_partial_update", "parameters": [], "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CircuitType" } } }, "required": true }, "responses": { "200": { "description": "", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CircuitType" } } } } }, "deprecated": false }, "delete": { "tags": [ "circuits" ], "summary": "circuits_circuit-types_bulk_delete", "operationId": "circuits_circuit-types_bulk_delete", "parameters": [], "responses": { "204": { "description": "", "headers": {}, "content": {} } }, "deprecated": false } }, "/circuits/circuit-types/{id}/": { "get": { "tags": [ "circuits" ], "summary": "circuits_circuit-types_read", "operationId": "circuits_circuit-types_read", "parameters": [ { "name": "id", "in": "path", "description": "A unique integer value identifying this circuit type.", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CircuitType" } } } } }, "deprecated": false }, "put": { "tags": [ "circuits" ], "summary": "circuits_circuit-types_update", "operationId": "circuits_circuit-types_update", "parameters": [ { "name": "id", "in": "path", "description": "A unique integer value identifying this circuit type.", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CircuitType" } } }, "required": true }, "responses": { "200": { "description": "", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CircuitType" } } } } }, "deprecated": false }, "patch": { "tags": [ "circuits" ], "summary": "circuits_circuit-types_partial_update", "operationId": "circuits_circuit-types_partial_update", "parameters": [ { "name": "id", "in": "path", "description": "A unique integer value identifying this circuit type.", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CircuitType" } } }, "required": true }, "responses": { "200": { "description": "", "headers": {}, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CircuitType" } } } } }, "deprecated": false }, "delete": { "tags": [ "circuits" ], "summary": "circuits_circuit-types_delete", "operationId": "circuits_circuit-types_delete", "parameters": [ { "name": "id", "in": "path", "description": "A unique integer value identifying this circuit type.", "required": true, "style": "simple", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "204": { "description": "", "headers": {}, "content": {} } }, "deprecated": false } }, "/circuits/circuits/": { "get": { "tags": [ "circuits" ], "summary": "circuits_circuits_list", "operationId": "circuits_circuits_list", "parameters": [ { "name": "id", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "cid", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "install_date", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "commit_rate", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "tenant_group_id", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "tenant_group", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "tenant_id", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "tenant", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "created", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "created__gte", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "created__lte", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "last_updated", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "last_updated__gte", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "last_updated__lte", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "q", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "provider_id", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "provider", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "type_id", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "type", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "status", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "site_id", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "site", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "region_id", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "region", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "tag", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "id__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "id__lte", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "id__lt", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "id__gte", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "id__gt", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "cid__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "cid__ic", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "cid__nic", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "cid__iew", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "cid__niew", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "cid__isw", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "cid__nisw", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "cid__ie", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "cid__nie", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "install_date__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "install_date__lte", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "install_date__lt", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "install_date__gte", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "install_date__gt", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "commit_rate__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "commit_rate__lte", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "commit_rate__lt", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "commit_rate__gte", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "commit_rate__gt", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "tenant_group_id__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "tenant_group__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "tenant_id__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "tenant__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "provider_id__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "provider__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "type_id__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "type__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "status__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "site_id__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "site__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "region_id__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" } }, { "name": "region__n", "in": "query", "description": "", "style": "form", "explode": true, "schema": { "type": "string" }