diff --git a/.github/ISSUE_TEMPLATE/01-feature_request.yaml b/.github/ISSUE_TEMPLATE/01-feature_request.yaml index fca8fd983..973384dd3 100644 --- a/.github/ISSUE_TEMPLATE/01-feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/01-feature_request.yaml @@ -15,7 +15,7 @@ body: attributes: label: NetBox version description: What version of NetBox are you currently running? - placeholder: v4.5.9 + placeholder: v4.5.10 validations: required: true - type: dropdown diff --git a/.github/ISSUE_TEMPLATE/02-bug_report.yaml b/.github/ISSUE_TEMPLATE/02-bug_report.yaml index 294dcc9f5..0d9cfa194 100644 --- a/.github/ISSUE_TEMPLATE/02-bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/02-bug_report.yaml @@ -27,7 +27,7 @@ body: attributes: label: NetBox Version description: What version of NetBox are you currently running? - placeholder: v4.5.9 + placeholder: v4.5.10 validations: required: true - type: dropdown diff --git a/.github/ISSUE_TEMPLATE/03-performance.yaml b/.github/ISSUE_TEMPLATE/03-performance.yaml index 62dab9e63..8a221bcfa 100644 --- a/.github/ISSUE_TEMPLATE/03-performance.yaml +++ b/.github/ISSUE_TEMPLATE/03-performance.yaml @@ -8,7 +8,7 @@ body: attributes: label: NetBox Version description: What version of NetBox are you currently running? - placeholder: v4.5.9 + placeholder: v4.5.10 validations: required: true - type: dropdown diff --git a/base_requirements.txt b/base_requirements.txt index 7a132b386..eb1ecd84b 100644 --- a/base_requirements.txt +++ b/base_requirements.txt @@ -150,7 +150,8 @@ social-auth-app-django # Social authentication framework # https://github.com/python-social-auth/social-core/blob/master/CHANGELOG.md -social-auth-core +# Need to verify that v4.9.0 does not introduce breaking changes (see #22095) +social-auth-core==4.8.* # Image thumbnail generation # https://github.com/jazzband/sorl-thumbnail/blob/master/CHANGES.rst diff --git a/contrib/openapi.json b/contrib/openapi.json index 058dd8992..5b4c99a0a 100644 --- a/contrib/openapi.json +++ b/contrib/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.0.3", "info": { "title": "NetBox REST API", - "version": "4.5.9", + "version": "4.5.10", "license": { "name": "Apache v2 License" } @@ -173384,18264 +173384,6 @@ } } }, - "/api/plugins/asset-lifecycle/bom-line-items/": { - "get": { - "operationId": "plugins_asset_lifecycle_bom_line_items_list", - "description": "Get a list of BOM line item objects.", - "parameters": [ - { - "in": "query", - "name": "auto_generated", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "bom_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "bom_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "object_type", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "object_type__n", - "schema": { - "type": "integer" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "quantity", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "quantity__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "quantity__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "quantity__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "quantity__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "quantity__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "quantity__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedBOMLineItemList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_bom_line_items_create", - "description": "Post a list of BOM line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/BOMLineItemRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/BOMLineItemRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMLineItem" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_bom_line_items_bulk_update", - "description": "Put a list of BOM line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItem" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_bom_line_items_bulk_partial_update", - "description": "Patch a list of BOM line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItem" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_bom_line_items_bulk_destroy", - "description": "Delete a list of BOM line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/bom-line-items/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_bom_line_items_retrieve", - "description": "Get a BOM line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMLineItem" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_bom_line_items_update", - "description": "Put a BOM line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMLineItem" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_bom_line_items_partial_update", - "description": "Patch a BOM line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedBOMLineItemRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedBOMLineItemRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMLineItem" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_bom_line_items_destroy", - "description": "Delete a BOM line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/bom-objects/": { - "get": { - "operationId": "plugins_asset_lifecycle_bom_objects_list", - "description": "Get a list of BOM object objects.", - "parameters": [ - { - "in": "query", - "name": "bom_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "bom_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "object_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "object_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "object_type__n", - "schema": { - "type": "integer" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedBOMObjectList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_bom_objects_create", - "description": "Post a list of BOM object objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/BOMObjectRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/BOMObjectRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMObject" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_bom_objects_bulk_update", - "description": "Put a list of BOM object objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObject" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_bom_objects_bulk_partial_update", - "description": "Patch a list of BOM object objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObject" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_bom_objects_bulk_destroy", - "description": "Delete a list of BOM object objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/bom-objects/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_bom_objects_retrieve", - "description": "Get a BOM object object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM object.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMObject" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_bom_objects_update", - "description": "Put a BOM object object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM object.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMObject" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_bom_objects_partial_update", - "description": "Patch a BOM object object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM object.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedBOMObjectRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedBOMObjectRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMObject" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_bom_objects_destroy", - "description": "Delete a BOM object object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM object.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/bom-scope-rules/": { - "get": { - "operationId": "plugins_asset_lifecycle_bom_scope_rules_list", - "description": "Get a list of BOM scope rule objects.", - "parameters": [ - { - "in": "query", - "name": "action", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "action__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "bom_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "bom_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "enabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "object_types", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_types__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedBOMScopeRuleList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_bom_scope_rules_create", - "description": "Post a list of BOM scope rule objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritableBOMScopeRuleRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritableBOMScopeRuleRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritableBOMScopeRuleRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritableBOMScopeRuleRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMScopeRule" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_bom_scope_rules_bulk_update", - "description": "Put a list of BOM scope rule objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMScopeRuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMScopeRuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMScopeRule" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_bom_scope_rules_bulk_partial_update", - "description": "Patch a list of BOM scope rule objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMScopeRuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMScopeRuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMScopeRule" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_bom_scope_rules_bulk_destroy", - "description": "Delete a list of BOM scope rule objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMScopeRuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMScopeRuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/bom-scope-rules/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_bom_scope_rules_retrieve", - "description": "Get a BOM scope rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM scope rule.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMScopeRule" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_bom_scope_rules_update", - "description": "Put a BOM scope rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM scope rule.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableBOMScopeRuleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableBOMScopeRuleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMScopeRule" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_bom_scope_rules_partial_update", - "description": "Patch a BOM scope rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM scope rule.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableBOMScopeRuleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableBOMScopeRuleRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMScopeRule" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_bom_scope_rules_destroy", - "description": "Delete a BOM scope rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM scope rule.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/boms/": { - "get": { - "operationId": "plugins_asset_lifecycle_boms_list", - "description": "Get a list of bill of materials objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "is_current", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "last_generated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_generated__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "last_generated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_generated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_generated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_generated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_generated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "string", - "x-spec-enum-id": "723ea797352271c7", - "enum": [ - "approved", - "cancelled", - "draft", - "fulfilled", - "null", - "ordered" - ] - }, - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "string", - "x-spec-enum-id": "723ea797352271c7", - "enum": [ - "approved", - "cancelled", - "draft", - "fulfilled", - "null", - "ordered" - ] - }, - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedBOMList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_boms_create", - "description": "Post a list of bill of materials objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritableBOMRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritableBOMRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritableBOMRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritableBOMRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOM" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_boms_bulk_update", - "description": "Put a list of bill of materials objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOM" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_boms_bulk_partial_update", - "description": "Patch a list of bill of materials objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOM" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_boms_bulk_destroy", - "description": "Delete a list of bill of materials objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/boms/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_boms_retrieve", - "description": "Get a bill of materials object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this bill of materials.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOM" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_boms_update", - "description": "Put a bill of materials object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this bill of materials.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableBOMRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableBOMRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOM" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_boms_partial_update", - "description": "Patch a bill of materials object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this bill of materials.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableBOMRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableBOMRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOM" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_boms_destroy", - "description": "Delete a bill of materials object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this bill of materials.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/cable-types/": { - "get": { - "operationId": "plugins_asset_lifecycle_cable_types_list", - "description": "Get a list of cable type objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "profile", - "schema": { - "type": "string", - "x-spec-enum-id": "f566e6df6572f5d0", - "enum": [ - "Breakout", - "Single", - "Trunk", - "null" - ] - }, - "description": "* `Single` - [('single-1c1p', '1C1P'), ('single-1c2p', '1C2P'), ('single-1c4p', '1C4P'), ('single-1c6p', '1C6P'), ('single-1c8p', '1C8P'), ('single-1c12p', '1C12P'), ('single-1c16p', '1C16P')]\n* `Trunk` - [('trunk-2c1p', '2C1P trunk'), ('trunk-2c2p', '2C2P trunk'), ('trunk-2c4p', '2C4P trunk'), ('trunk-2c4p-shuffle', '2C4P trunk (shuffle)'), ('trunk-2c6p', '2C6P trunk'), ('trunk-2c8p', '2C8P trunk'), ('trunk-2c12p', '2C12P trunk'), ('trunk-4c1p', '4C1P trunk'), ('trunk-4c2p', '4C2P trunk'), ('trunk-4c4p', '4C4P trunk'), ('trunk-4c4p-shuffle', '4C4P trunk (shuffle)'), ('trunk-4c6p', '4C6P trunk'), ('trunk-4c8p', '4C8P trunk'), ('trunk-8c4p', '8C4P trunk')]\n* `Breakout` - [('breakout-1c2p-2c1p', '1C2P:2C1P breakout'), ('breakout-1c4p-4c1p', '1C4P:4C1P breakout'), ('breakout-1c6p-6c1p', '1C6P:6C1P breakout'), ('breakout-2c4p-8c1p-shuffle', '2C4P:8C1P breakout (shuffle)')]" - }, - { - "in": "query", - "name": "profile__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "profile__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__n", - "schema": { - "type": "string", - "x-spec-enum-id": "f566e6df6572f5d0", - "enum": [ - "Breakout", - "Single", - "Trunk", - "null" - ] - }, - "description": "* `Single` - [('single-1c1p', '1C1P'), ('single-1c2p', '1C2P'), ('single-1c4p', '1C4P'), ('single-1c6p', '1C6P'), ('single-1c8p', '1C8P'), ('single-1c12p', '1C12P'), ('single-1c16p', '1C16P')]\n* `Trunk` - [('trunk-2c1p', '2C1P trunk'), ('trunk-2c2p', '2C2P trunk'), ('trunk-2c4p', '2C4P trunk'), ('trunk-2c4p-shuffle', '2C4P trunk (shuffle)'), ('trunk-2c6p', '2C6P trunk'), ('trunk-2c8p', '2C8P trunk'), ('trunk-2c12p', '2C12P trunk'), ('trunk-4c1p', '4C1P trunk'), ('trunk-4c2p', '4C2P trunk'), ('trunk-4c4p', '4C4P trunk'), ('trunk-4c4p-shuffle', '4C4P trunk (shuffle)'), ('trunk-4c6p', '4C6P trunk'), ('trunk-4c8p', '4C8P trunk'), ('trunk-8c4p', '8C4P trunk')]\n* `Breakout` - [('breakout-1c2p-2c1p', '1C2P:2C1P breakout'), ('breakout-1c4p-4c1p', '1C4P:4C1P breakout'), ('breakout-1c6p-6c1p', '1C6P:6C1P breakout'), ('breakout-2c4p-8c1p-shuffle', '2C4P:8C1P breakout (shuffle)')]" - }, - { - "in": "query", - "name": "profile__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "string", - "x-spec-enum-id": "3d4d8d7ae24f7be8", - "enum": [ - "Copper - Coaxial", - "Copper - Twinax (DAC)", - "Copper - Twisted Pair (UTP/STP)", - "Fiber - Multimode", - "Fiber - Other", - "Fiber - Single-mode", - "Power", - "USB", - "null" - ] - }, - "description": "* `Copper - Twisted Pair (UTP/STP)` - [('cat3', 'CAT3'), ('cat5', 'CAT5'), ('cat5e', 'CAT5e'), ('cat6', 'CAT6'), ('cat6a', 'CAT6a'), ('cat7', 'CAT7'), ('cat7a', 'CAT7a'), ('cat8', 'CAT8'), ('mrj21-trunk', 'MRJ21 Trunk')]\n* `Copper - Twinax (DAC)` - [('dac-active', 'Direct Attach Copper (Active)'), ('dac-passive', 'Direct Attach Copper (Passive)')]\n* `Copper - Coaxial` - [('coaxial', 'Coaxial'), ('rg-6', 'RG-6'), ('rg-8', 'RG-8'), ('rg-11', 'RG-11'), ('rg-59', 'RG-59'), ('rg-62', 'RG-62'), ('rg-213', 'RG-213'), ('lmr-100', 'LMR-100'), ('lmr-200', 'LMR-200'), ('lmr-400', 'LMR-400')]\n* `Fiber - Multimode` - [('mmf', 'Multimode Fiber'), ('mmf-om1', 'Multimode Fiber (OM1)'), ('mmf-om2', 'Multimode Fiber (OM2)'), ('mmf-om3', 'Multimode Fiber (OM3)'), ('mmf-om4', 'Multimode Fiber (OM4)'), ('mmf-om5', 'Multimode Fiber (OM5)')]\n* `Fiber - Single-mode` - [('smf', 'Single-mode Fiber'), ('smf-os1', 'Single-mode Fiber (OS1)'), ('smf-os2', 'Single-mode Fiber (OS2)')]\n* `Fiber - Other` - [('aoc', 'Active Optical Cabling (AOC)')]\n* `Power` - [('power', 'Power')]\n* `USB` - [('usb', 'USB')]" - }, - { - "in": "query", - "name": "type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "type__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "string", - "x-spec-enum-id": "3d4d8d7ae24f7be8", - "enum": [ - "Copper - Coaxial", - "Copper - Twinax (DAC)", - "Copper - Twisted Pair (UTP/STP)", - "Fiber - Multimode", - "Fiber - Other", - "Fiber - Single-mode", - "Power", - "USB", - "null" - ] - }, - "description": "* `Copper - Twisted Pair (UTP/STP)` - [('cat3', 'CAT3'), ('cat5', 'CAT5'), ('cat5e', 'CAT5e'), ('cat6', 'CAT6'), ('cat6a', 'CAT6a'), ('cat7', 'CAT7'), ('cat7a', 'CAT7a'), ('cat8', 'CAT8'), ('mrj21-trunk', 'MRJ21 Trunk')]\n* `Copper - Twinax (DAC)` - [('dac-active', 'Direct Attach Copper (Active)'), ('dac-passive', 'Direct Attach Copper (Passive)')]\n* `Copper - Coaxial` - [('coaxial', 'Coaxial'), ('rg-6', 'RG-6'), ('rg-8', 'RG-8'), ('rg-11', 'RG-11'), ('rg-59', 'RG-59'), ('rg-62', 'RG-62'), ('rg-213', 'RG-213'), ('lmr-100', 'LMR-100'), ('lmr-200', 'LMR-200'), ('lmr-400', 'LMR-400')]\n* `Fiber - Multimode` - [('mmf', 'Multimode Fiber'), ('mmf-om1', 'Multimode Fiber (OM1)'), ('mmf-om2', 'Multimode Fiber (OM2)'), ('mmf-om3', 'Multimode Fiber (OM3)'), ('mmf-om4', 'Multimode Fiber (OM4)'), ('mmf-om5', 'Multimode Fiber (OM5)')]\n* `Fiber - Single-mode` - [('smf', 'Single-mode Fiber'), ('smf-os1', 'Single-mode Fiber (OS1)'), ('smf-os2', 'Single-mode Fiber (OS2)')]\n* `Fiber - Other` - [('aoc', 'Active Optical Cabling (AOC)')]\n* `Power` - [('power', 'Power')]\n* `USB` - [('usb', 'USB')]" - }, - { - "in": "query", - "name": "type__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedCableTypeList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_cable_types_create", - "description": "Post a list of cable type objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CableTypeRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTypeRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CableTypeRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTypeRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CableType" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_cable_types_bulk_update", - "description": "Put a list of cable type objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableType" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_cable_types_bulk_partial_update", - "description": "Patch a list of cable type objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableType" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_cable_types_bulk_destroy", - "description": "Delete a list of cable type objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/cable-types/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_cable_types_retrieve", - "description": "Get a cable type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cable type.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CableType" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_cable_types_update", - "description": "Put a cable type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cable type.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CableTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/CableTypeRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CableType" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_cable_types_partial_update", - "description": "Patch a cable type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cable type.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedCableTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedCableTypeRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CableType" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_cable_types_destroy", - "description": "Delete a cable type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cable type.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/courier-accounts/": { - "get": { - "operationId": "plugins_asset_lifecycle_courier_accounts_list", - "description": "Get a list of courier account objects.", - "parameters": [ - { - "in": "query", - "name": "account_number", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "account_number__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "courier_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "courier_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedCourierAccountList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_courier_accounts_create", - "description": "Post a list of courier account objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CourierAccountRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CourierAccountRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CourierAccount" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_courier_accounts_bulk_update", - "description": "Put a list of courier account objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccount" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_courier_accounts_bulk_partial_update", - "description": "Patch a list of courier account objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccount" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_courier_accounts_bulk_destroy", - "description": "Delete a list of courier account objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/courier-accounts/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_courier_accounts_retrieve", - "description": "Get a courier account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this courier account.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CourierAccount" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_courier_accounts_update", - "description": "Put a courier account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this courier account.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CourierAccount" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_courier_accounts_partial_update", - "description": "Patch a courier account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this courier account.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedCourierAccountRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedCourierAccountRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CourierAccount" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_courier_accounts_destroy", - "description": "Delete a courier account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this courier account.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/couriers/": { - "get": { - "operationId": "plugins_asset_lifecycle_couriers_list", - "description": "Get a list of courier objects.", - "parameters": [ - { - "in": "query", - "name": "code", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "code__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "tracking_url__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedCourierList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_couriers_create", - "description": "Post a list of courier objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CourierRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CourierRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Courier" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_couriers_bulk_update", - "description": "Put a list of courier objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Courier" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_couriers_bulk_partial_update", - "description": "Patch a list of courier objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Courier" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_couriers_bulk_destroy", - "description": "Delete a list of courier objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/couriers/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_couriers_retrieve", - "description": "Get a courier object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this courier.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Courier" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_couriers_update", - "description": "Put a courier object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this courier.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CourierRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/CourierRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Courier" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_couriers_partial_update", - "description": "Patch a courier object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this courier.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedCourierRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedCourierRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Courier" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_couriers_destroy", - "description": "Delete a courier object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this courier.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/po-line-items/": { - "get": { - "operationId": "plugins_asset_lifecycle_po_line_items_list", - "description": "Get a list of PO line item objects.", - "parameters": [ - { - "in": "query", - "name": "bom_line_item", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "bom_line_item__n", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "purchase_order_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "purchase_order_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_ordered", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_ordered__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "qty_ordered__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_ordered__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_ordered__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_ordered__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_ordered__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "total_price", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "total_price__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "total_price__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "total_price__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "total_price__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "total_price__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "total_price__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "unit_price", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "unit_price__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "unit_price__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "unit_price__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "unit_price__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "unit_price__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "unit_price__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedPOLineItemList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_po_line_items_create", - "description": "Post a list of PO line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/POLineItemRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItemRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/POLineItemRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItemRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/POLineItem" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_po_line_items_bulk_update", - "description": "Put a list of PO line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItem" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_po_line_items_bulk_partial_update", - "description": "Patch a list of PO line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItem" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_po_line_items_bulk_destroy", - "description": "Delete a list of PO line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/po-line-items/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_po_line_items_retrieve", - "description": "Get a PO line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this PO line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/POLineItem" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_po_line_items_update", - "description": "Put a PO line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this PO line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/POLineItemRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/POLineItemRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/POLineItem" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_po_line_items_partial_update", - "description": "Patch a PO line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this PO line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedPOLineItemRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedPOLineItemRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/POLineItem" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_po_line_items_destroy", - "description": "Delete a PO line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this PO line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/purchase-orders/": { - "get": { - "operationId": "plugins_asset_lifecycle_purchase_orders_list", - "description": "Get a list of purchase order objects.", - "parameters": [ - { - "in": "query", - "name": "bom_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "bom_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "order_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "order_id__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "string", - "x-spec-enum-id": "723ea797352271c7", - "enum": [ - "approved", - "cancelled", - "draft", - "fulfilled", - "null", - "ordered" - ] - }, - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "string", - "x-spec-enum-id": "723ea797352271c7", - "enum": [ - "approved", - "cancelled", - "draft", - "fulfilled", - "null", - "ordered" - ] - }, - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "vendor_account_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vendor_account_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vendor_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vendor_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedPurchaseOrderList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_purchase_orders_create", - "description": "Post a list of purchase order objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritablePurchaseOrderRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritablePurchaseOrderRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritablePurchaseOrderRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritablePurchaseOrderRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PurchaseOrder" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_purchase_orders_bulk_update", - "description": "Put a list of purchase order objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PurchaseOrderRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PurchaseOrderRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PurchaseOrder" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_purchase_orders_bulk_partial_update", - "description": "Patch a list of purchase order objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PurchaseOrderRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PurchaseOrderRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PurchaseOrder" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_purchase_orders_bulk_destroy", - "description": "Delete a list of purchase order objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PurchaseOrderRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PurchaseOrderRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/purchase-orders/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_purchase_orders_retrieve", - "description": "Get a purchase order object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this purchase order.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PurchaseOrder" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_purchase_orders_update", - "description": "Put a purchase order object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this purchase order.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritablePurchaseOrderRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritablePurchaseOrderRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PurchaseOrder" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_purchase_orders_partial_update", - "description": "Patch a purchase order object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this purchase order.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritablePurchaseOrderRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritablePurchaseOrderRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PurchaseOrder" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_purchase_orders_destroy", - "description": "Delete a purchase order object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this purchase order.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/shipment-line-items/": { - "get": { - "operationId": "plugins_asset_lifecycle_shipment_line_items_list", - "description": "Get a list of shipment line item objects.", - "parameters": [ - { - "in": "query", - "name": "bom_line_item", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "bom_line_item__n", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "qty_received", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_received__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "qty_received__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_received__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_received__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_received__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_received__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_shipped", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_shipped__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "qty_shipped__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_shipped__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_shipped__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_shipped__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_shipped__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "shipment_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "shipment_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedShipmentLineItemList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_shipment_line_items_create", - "description": "Post a list of shipment line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ShipmentLineItem" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_shipment_line_items_bulk_update", - "description": "Put a list of shipment line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItem" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_shipment_line_items_bulk_partial_update", - "description": "Patch a list of shipment line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItem" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_shipment_line_items_bulk_destroy", - "description": "Delete a list of shipment line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/shipment-line-items/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_shipment_line_items_retrieve", - "description": "Get a shipment line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this shipment line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ShipmentLineItem" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_shipment_line_items_update", - "description": "Put a shipment line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this shipment line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ShipmentLineItem" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_shipment_line_items_partial_update", - "description": "Patch a shipment line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this shipment line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedShipmentLineItemRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedShipmentLineItemRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ShipmentLineItem" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_shipment_line_items_destroy", - "description": "Delete a shipment line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this shipment line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/shipments/": { - "get": { - "operationId": "plugins_asset_lifecycle_shipments_list", - "description": "Get a list of shipment objects.", - "parameters": [ - { - "in": "query", - "name": "bom_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "bom_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "courier_account_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "courier_account_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "courier_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "courier_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "date_expected", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_expected__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "date_expected__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_expected__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_expected__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_expected__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_expected__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_received", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_received__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "date_received__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_received__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_received__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_received__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_received__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_shipped", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_shipped__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "date_shipped__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_shipped__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_shipped__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_shipped__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_shipped__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "purchase_order_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "purchase_order_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "string", - "x-spec-enum-id": "90d5c62b9534fcda", - "enum": [ - "cancelled", - "lost", - "null", - "prepared", - "received", - "returned", - "shipped" - ] - }, - "description": "* `prepared` - Prepared\n* `shipped` - Shipped\n* `received` - Received\n* `cancelled` - Cancelled\n* `returned` - Returned\n* `lost` - Lost" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "string", - "x-spec-enum-id": "90d5c62b9534fcda", - "enum": [ - "cancelled", - "lost", - "null", - "prepared", - "received", - "returned", - "shipped" - ] - }, - "description": "* `prepared` - Prepared\n* `shipped` - Shipped\n* `received` - Received\n* `cancelled` - Cancelled\n* `returned` - Returned\n* `lost` - Lost" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "tracking_number__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedShipmentList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_shipments_create", - "description": "Post a list of shipment objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritableShipmentRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritableShipmentRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritableShipmentRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritableShipmentRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Shipment" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_shipments_bulk_update", - "description": "Put a list of shipment objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Shipment" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_shipments_bulk_partial_update", - "description": "Patch a list of shipment objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Shipment" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_shipments_bulk_destroy", - "description": "Delete a list of shipment objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/shipments/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_shipments_retrieve", - "description": "Get a shipment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this shipment.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Shipment" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_shipments_update", - "description": "Put a shipment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this shipment.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableShipmentRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableShipmentRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Shipment" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_shipments_partial_update", - "description": "Patch a shipment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this shipment.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableShipmentRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableShipmentRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Shipment" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_shipments_destroy", - "description": "Delete a shipment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this shipment.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/spare-items/": { - "get": { - "operationId": "plugins_asset_lifecycle_spare_items_list", - "description": "Get a list of spare item objects.", - "parameters": [ - { - "in": "query", - "name": "asset_tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "asset_tag__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "object_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "object_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type_id", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "object_type_id__n", - "schema": { - "type": "integer" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "pool_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pool_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "serial", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "serial__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "string", - "x-spec-enum-id": "800a019a62f1910f", - "enum": [ - "damaged", - "missing", - "null", - "serviceable" - ] - }, - "description": "* `serviceable` - Serviceable\n* `damaged` - Damaged\n* `missing` - Missing" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "string", - "x-spec-enum-id": "800a019a62f1910f", - "enum": [ - "damaged", - "missing", - "null", - "serviceable" - ] - }, - "description": "* `serviceable` - Serviceable\n* `damaged` - Damaged\n* `missing` - Missing" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedSpareItemList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_spare_items_create", - "description": "Post a list of spare item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritableSpareItemRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritableSpareItemRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritableSpareItemRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritableSpareItemRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SpareItem" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_spare_items_bulk_update", - "description": "Put a list of spare item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpareItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpareItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpareItem" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_spare_items_bulk_partial_update", - "description": "Patch a list of spare item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpareItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpareItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpareItem" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_spare_items_bulk_destroy", - "description": "Delete a list of spare item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpareItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpareItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/spare-items/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_spare_items_retrieve", - "description": "Get a spare item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this spare item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SpareItem" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_spare_items_update", - "description": "Put a spare item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this spare item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableSpareItemRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableSpareItemRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SpareItem" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_spare_items_partial_update", - "description": "Patch a spare item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this spare item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableSpareItemRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableSpareItemRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SpareItem" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_spare_items_destroy", - "description": "Delete a spare item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this spare item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/spares-pools/": { - "get": { - "operationId": "plugins_asset_lifecycle_spares_pools_list", - "description": "Get a list of spares pool objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedSparesPoolList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_spares_pools_create", - "description": "Post a list of spares pool objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/SparesPoolRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/SparesPoolRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SparesPool" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_spares_pools_bulk_update", - "description": "Put a list of spares pool objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPool" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_spares_pools_bulk_partial_update", - "description": "Patch a list of spares pool objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPool" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_spares_pools_bulk_destroy", - "description": "Delete a list of spares pool objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/spares-pools/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_spares_pools_retrieve", - "description": "Get a spares pool object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this spares pool.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SparesPool" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_spares_pools_update", - "description": "Put a spares pool object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this spares pool.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SparesPool" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_spares_pools_partial_update", - "description": "Patch a spares pool object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this spares pool.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedSparesPoolRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedSparesPoolRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SparesPool" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_spares_pools_destroy", - "description": "Delete a spares pool object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this spares pool.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/status-transition-rules/": { - "get": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_list", - "description": "Get a list of status transition rule objects.", - "parameters": [ - { - "in": "query", - "name": "allow_reverse", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "from_status__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "object_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "to_status__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedStatusTransitionRuleList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_create", - "description": "Post a list of status transition rule objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StatusTransitionRule" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_bulk_update", - "description": "Put a list of status transition rule objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRule" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_bulk_partial_update", - "description": "Patch a list of status transition rule objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRule" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_bulk_destroy", - "description": "Delete a list of status transition rule objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/status-transition-rules/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_retrieve", - "description": "Get a status transition rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this status transition rule.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StatusTransitionRule" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_update", - "description": "Put a status transition rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this status transition rule.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StatusTransitionRule" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_partial_update", - "description": "Patch a status transition rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this status transition rule.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedStatusTransitionRuleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedStatusTransitionRuleRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StatusTransitionRule" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_destroy", - "description": "Delete a status transition rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this status transition rule.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/status-transition-rules/status-choices/": { - "get": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_status_choices_retrieve", - "description": "Return valid status choices for a supported object type.", - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StatusTransitionRule" - } - } - }, - "description": "" - } - } - } - }, - "/api/plugins/asset-lifecycle/vendor-accounts/": { - "get": { - "operationId": "plugins_asset_lifecycle_vendor_accounts_list", - "description": "Get a list of vendor account objects.", - "parameters": [ - { - "in": "query", - "name": "account_number", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "account_number__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "vendor_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vendor_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedVendorAccountList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_vendor_accounts_create", - "description": "Post a list of vendor account objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/VendorAccountRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/VendorAccountRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VendorAccount" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_vendor_accounts_bulk_update", - "description": "Put a list of vendor account objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccount" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_vendor_accounts_bulk_partial_update", - "description": "Patch a list of vendor account objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccount" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_vendor_accounts_bulk_destroy", - "description": "Delete a list of vendor account objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/vendor-accounts/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_vendor_accounts_retrieve", - "description": "Get a vendor account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this vendor account.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VendorAccount" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_vendor_accounts_update", - "description": "Put a vendor account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this vendor account.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VendorAccount" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_vendor_accounts_partial_update", - "description": "Patch a vendor account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this vendor account.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedVendorAccountRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedVendorAccountRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VendorAccount" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_vendor_accounts_destroy", - "description": "Delete a vendor account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this vendor account.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/vendors/": { - "get": { - "operationId": "plugins_asset_lifecycle_vendors_list", - "description": "Get a list of vendor objects.", - "parameters": [ - { - "in": "query", - "name": "code", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "code__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedVendorList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_vendors_create", - "description": "Post a list of vendor objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/VendorRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/VendorRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Vendor" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_vendors_bulk_update", - "description": "Put a list of vendor objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Vendor" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_vendors_bulk_partial_update", - "description": "Patch a list of vendor objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Vendor" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_vendors_bulk_destroy", - "description": "Delete a list of vendor objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/vendors/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_vendors_retrieve", - "description": "Get a vendor object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this vendor.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Vendor" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_vendors_update", - "description": "Put a vendor object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this vendor.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VendorRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/VendorRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Vendor" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_vendors_partial_update", - "description": "Patch a vendor object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this vendor.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedVendorRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedVendorRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Vendor" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_vendors_destroy", - "description": "Delete a vendor object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this vendor.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, "/api/schema/": { "get": { "operationId": "schema_retrieve", @@ -241679,476 +223421,6 @@ "vid" ] }, - "BOM": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "label": { - "type": "string", - "enum": [ - "Draft", - "Approved", - "Ordered", - "Fulfilled", - "Cancelled" - ] - } - } - }, - "last_generated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "is_current": { - "type": "boolean", - "readOnly": true, - "title": "Current", - "description": "Cleared when a scope rule is added, changed, or removed; restored on regeneration." - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "is_current", - "last_updated", - "name", - "status", - "url" - ] - }, - "BOMLineItem": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "bom": { - "$ref": "#/components/schemas/BriefBOM" - }, - "auto_generated": { - "type": "boolean", - "readOnly": true, - "description": "Indicates that this line item was created by regenerating the BOM" - }, - "quantity": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "object": { - "readOnly": true, - "nullable": true - }, - "variant": { - "nullable": true - } - }, - "required": [ - "auto_generated", - "bom", - "display", - "id", - "object", - "object_id", - "object_type", - "url" - ] - }, - "BOMLineItemRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "quantity": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "variant": { - "nullable": true - } - }, - "required": [ - "bom", - "object_id", - "object_type" - ] - }, - "BOMObject": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "bom": { - "$ref": "#/components/schemas/BriefBOM" - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "object": { - "readOnly": true, - "nullable": true - } - }, - "required": [ - "bom", - "display", - "id", - "object", - "object_id", - "object_type", - "url" - ] - }, - "BOMObjectRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - } - }, - "required": [ - "bom", - "object_id", - "object_type" - ] - }, - "BOMRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "status": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "last_generated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "status" - ] - }, - "BOMScopeRule": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "bom": { - "$ref": "#/components/schemas/BriefBOM" - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "enabled": { - "type": "boolean", - "description": "If not checked, this rule will be ignored when generating the BOM." - }, - "action": { - "type": "object", - "properties": { - "value": { - "enum": [ - "include", - "exclude" - ], - "type": "string", - "description": "* `include` - Include\n* `exclude` - Exclude", - "x-spec-enum-id": "a49ba53d958c43ee" - }, - "label": { - "type": "string", - "enum": [ - "Include", - "Exclude" - ] - } - } - }, - "parameters": {}, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "action", - "bom", - "created", - "display", - "id", - "last_updated", - "object_types", - "url" - ] - }, - "BOMScopeRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "enabled": { - "type": "boolean", - "description": "If not checked, this rule will be ignored when generating the BOM." - }, - "action": { - "enum": [ - "include", - "exclude" - ], - "type": "string", - "description": "* `include` - Include\n* `exclude` - Exclude", - "x-spec-enum-id": "a49ba53d958c43ee" - }, - "parameters": {}, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "action", - "bom", - "object_types" - ] - }, "BackgroundTask": { "type": "object", "properties": { @@ -242464,148 +223736,6 @@ "user" ] }, - "BriefBOM": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "label": { - "type": "string", - "enum": [ - "Draft", - "Approved", - "Ordered", - "Fulfilled", - "Cancelled" - ] - } - } - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "status", - "url" - ] - }, - "BriefBOMLineItem": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "quantity": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "object_type": { - "type": "string" - } - }, - "required": [ - "display", - "id", - "object_type", - "url" - ] - }, - "BriefBOMLineItemRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "quantity": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "object_type": { - "type": "string" - } - }, - "required": [ - "object_type" - ] - }, - "BriefBOMRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "status": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "status" - ] - }, "BriefCable": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -243334,137 +224464,6 @@ "slug" ] }, - "BriefCourier": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Full name of the courier", - "maxLength": 100 - }, - "code": { - "type": "string", - "description": "Internal courier code", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefCourierAccount": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "courier": { - "$ref": "#/components/schemas/BriefCourier" - }, - "account_number": { - "type": "string", - "description": "Account number with the courier", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "account_number", - "courier", - "display", - "id", - "url" - ] - }, - "BriefCourierAccountRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "courier": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCourierRequest" - } - ] - }, - "account_number": { - "type": "string", - "minLength": 1, - "description": "Account number with the courier", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "account_number", - "courier" - ] - }, - "BriefCourierRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the courier", - "maxLength": 100 - }, - "code": { - "type": "string", - "description": "Internal courier code", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, "BriefCustomFieldChoiceSet": { "type": "object", "description": "Adds an `owner` field for models which have a ForeignKey to users.Owner.", @@ -245492,140 +226491,6 @@ "slug" ] }, - "BriefPurchaseOrder": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "vendor": { - "$ref": "#/components/schemas/BriefVendor" - }, - "vendor_account": { - "$ref": "#/components/schemas/BriefVendorAccount" - }, - "bom": { - "$ref": "#/components/schemas/BriefBOM" - }, - "order_id": { - "type": "string", - "description": "Order ID with the vendor" - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "label": { - "type": "string", - "enum": [ - "Draft", - "Approved", - "Ordered", - "Fulfilled", - "Cancelled" - ] - } - } - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "bom", - "display", - "id", - "status", - "url", - "vendor", - "vendor_account" - ] - }, - "BriefPurchaseOrderRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "vendor": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorRequest" - } - ] - }, - "vendor_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorAccountRequest" - } - ] - }, - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "order_id": { - "type": "string", - "description": "Order ID with the vendor" - }, - "status": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "bom", - "status", - "vendor", - "vendor_account" - ] - }, "BriefRIR": { "type": "object", "description": "Base serializer class for models inheriting from OrganizationalModel.", @@ -246059,115 +226924,6 @@ "slug" ] }, - "BriefShipment": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "purchase_order": { - "$ref": "#/components/schemas/BriefPurchaseOrder" - }, - "courier": { - "$ref": "#/components/schemas/BriefCourier" - }, - "courier_account": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCourierAccount" - } - ], - "nullable": true - }, - "tracking_number": { - "type": "string", - "description": "Tracking number provided by the courier", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "courier", - "courier_account", - "display", - "id", - "purchase_order", - "tracking_number", - "url" - ] - }, - "BriefShipmentRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "purchase_order": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefPurchaseOrderRequest" - } - ] - }, - "courier": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCourierRequest" - } - ] - }, - "courier_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCourierAccountRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tracking_number": { - "type": "string", - "minLength": 1, - "description": "Tracking number provided by the courier", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "courier", - "courier_account", - "purchase_order", - "tracking_number" - ] - }, "BriefSite": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -246310,57 +227066,6 @@ "slug" ] }, - "BriefSparesPool": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefSparesPoolRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, "BriefTag": { "type": "object", "description": "Adds an `owner` field for models which have a ForeignKey to users.Owner.", @@ -246972,127 +227677,6 @@ "name" ] }, - "BriefVendor": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Full name of the vendor", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefVendorAccount": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "vendor": { - "$ref": "#/components/schemas/BriefVendor" - }, - "account_number": { - "type": "string", - "description": "Account number with the vendor", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "account_number", - "display", - "id", - "url", - "vendor" - ] - }, - "BriefVendorAccountRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "vendor": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorRequest" - } - ] - }, - "account_number": { - "type": "string", - "minLength": 1, - "description": "Account number with the vendor", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "account_number", - "vendor" - ] - }, - "BriefVendorRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the vendor", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, "BriefVirtualChassis": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -247977,234 +228561,6 @@ "url" ] }, - "CableType": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "type": { - "enum": [ - "cat3", - "cat5", - "cat5e", - "cat6", - "cat6a", - "cat7", - "cat7a", - "cat8", - "mrj21-trunk", - "dac-active", - "dac-passive", - "coaxial", - "rg-6", - "rg-8", - "rg-11", - "rg-59", - "rg-62", - "rg-213", - "lmr-100", - "lmr-200", - "lmr-400", - "mmf", - "mmf-om1", - "mmf-om2", - "mmf-om3", - "mmf-om4", - "mmf-om5", - "smf", - "smf-os1", - "smf-os2", - "aoc", - "power", - "usb" - ], - "type": "string", - "description": "* `cat3` - CAT3\n* `cat5` - CAT5\n* `cat5e` - CAT5e\n* `cat6` - CAT6\n* `cat6a` - CAT6a\n* `cat7` - CAT7\n* `cat7a` - CAT7a\n* `cat8` - CAT8\n* `mrj21-trunk` - MRJ21 Trunk\n* `dac-active` - Direct Attach Copper (Active)\n* `dac-passive` - Direct Attach Copper (Passive)\n* `coaxial` - Coaxial\n* `rg-6` - RG-6\n* `rg-8` - RG-8\n* `rg-11` - RG-11\n* `rg-59` - RG-59\n* `rg-62` - RG-62\n* `rg-213` - RG-213\n* `lmr-100` - LMR-100\n* `lmr-200` - LMR-200\n* `lmr-400` - LMR-400\n* `mmf` - Multimode Fiber\n* `mmf-om1` - Multimode Fiber (OM1)\n* `mmf-om2` - Multimode Fiber (OM2)\n* `mmf-om3` - Multimode Fiber (OM3)\n* `mmf-om4` - Multimode Fiber (OM4)\n* `mmf-om5` - Multimode Fiber (OM5)\n* `smf` - Single-mode Fiber\n* `smf-os1` - Single-mode Fiber (OS1)\n* `smf-os2` - Single-mode Fiber (OS2)\n* `aoc` - Active Optical Cabling (AOC)\n* `power` - Power\n* `usb` - USB", - "x-spec-enum-id": "3d4d8d7ae24f7be8" - }, - "profile": { - "enum": [ - "single-1c1p", - "single-1c2p", - "single-1c4p", - "single-1c6p", - "single-1c8p", - "single-1c12p", - "single-1c16p", - "trunk-2c1p", - "trunk-2c2p", - "trunk-2c4p", - "trunk-2c4p-shuffle", - "trunk-2c6p", - "trunk-2c8p", - "trunk-2c12p", - "trunk-4c1p", - "trunk-4c2p", - "trunk-4c4p", - "trunk-4c4p-shuffle", - "trunk-4c6p", - "trunk-4c8p", - "trunk-8c4p", - "breakout-1c2p-2c1p", - "breakout-1c4p-4c1p", - "breakout-1c6p-6c1p", - "breakout-2c4p-8c1p-shuffle", - "" - ], - "type": "string", - "description": "* `single-1c1p` - 1C1P\n* `single-1c2p` - 1C2P\n* `single-1c4p` - 1C4P\n* `single-1c6p` - 1C6P\n* `single-1c8p` - 1C8P\n* `single-1c12p` - 1C12P\n* `single-1c16p` - 1C16P\n* `trunk-2c1p` - 2C1P trunk\n* `trunk-2c2p` - 2C2P trunk\n* `trunk-2c4p` - 2C4P trunk\n* `trunk-2c4p-shuffle` - 2C4P trunk (shuffle)\n* `trunk-2c6p` - 2C6P trunk\n* `trunk-2c8p` - 2C8P trunk\n* `trunk-2c12p` - 2C12P trunk\n* `trunk-4c1p` - 4C1P trunk\n* `trunk-4c2p` - 4C2P trunk\n* `trunk-4c4p` - 4C4P trunk\n* `trunk-4c4p-shuffle` - 4C4P trunk (shuffle)\n* `trunk-4c6p` - 4C6P trunk\n* `trunk-4c8p` - 4C8P trunk\n* `trunk-8c4p` - 8C4P trunk\n* `breakout-1c2p-2c1p` - 1C2P:2C1P breakout\n* `breakout-1c4p-4c1p` - 1C4P:4C1P breakout\n* `breakout-1c6p-6c1p` - 1C6P:6C1P breakout\n* `breakout-2c4p-8c1p-shuffle` - 2C4P:8C1P breakout (shuffle)", - "x-spec-enum-id": "f566e6df6572f5d0" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "type", - "url" - ] - }, - "CableTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "type": { - "enum": [ - "cat3", - "cat5", - "cat5e", - "cat6", - "cat6a", - "cat7", - "cat7a", - "cat8", - "mrj21-trunk", - "dac-active", - "dac-passive", - "coaxial", - "rg-6", - "rg-8", - "rg-11", - "rg-59", - "rg-62", - "rg-213", - "lmr-100", - "lmr-200", - "lmr-400", - "mmf", - "mmf-om1", - "mmf-om2", - "mmf-om3", - "mmf-om4", - "mmf-om5", - "smf", - "smf-os1", - "smf-os2", - "aoc", - "power", - "usb" - ], - "type": "string", - "description": "* `cat3` - CAT3\n* `cat5` - CAT5\n* `cat5e` - CAT5e\n* `cat6` - CAT6\n* `cat6a` - CAT6a\n* `cat7` - CAT7\n* `cat7a` - CAT7a\n* `cat8` - CAT8\n* `mrj21-trunk` - MRJ21 Trunk\n* `dac-active` - Direct Attach Copper (Active)\n* `dac-passive` - Direct Attach Copper (Passive)\n* `coaxial` - Coaxial\n* `rg-6` - RG-6\n* `rg-8` - RG-8\n* `rg-11` - RG-11\n* `rg-59` - RG-59\n* `rg-62` - RG-62\n* `rg-213` - RG-213\n* `lmr-100` - LMR-100\n* `lmr-200` - LMR-200\n* `lmr-400` - LMR-400\n* `mmf` - Multimode Fiber\n* `mmf-om1` - Multimode Fiber (OM1)\n* `mmf-om2` - Multimode Fiber (OM2)\n* `mmf-om3` - Multimode Fiber (OM3)\n* `mmf-om4` - Multimode Fiber (OM4)\n* `mmf-om5` - Multimode Fiber (OM5)\n* `smf` - Single-mode Fiber\n* `smf-os1` - Single-mode Fiber (OS1)\n* `smf-os2` - Single-mode Fiber (OS2)\n* `aoc` - Active Optical Cabling (AOC)\n* `power` - Power\n* `usb` - USB", - "x-spec-enum-id": "3d4d8d7ae24f7be8" - }, - "profile": { - "enum": [ - "single-1c1p", - "single-1c2p", - "single-1c4p", - "single-1c6p", - "single-1c8p", - "single-1c12p", - "single-1c16p", - "trunk-2c1p", - "trunk-2c2p", - "trunk-2c4p", - "trunk-2c4p-shuffle", - "trunk-2c6p", - "trunk-2c8p", - "trunk-2c12p", - "trunk-4c1p", - "trunk-4c2p", - "trunk-4c4p", - "trunk-4c4p-shuffle", - "trunk-4c6p", - "trunk-4c8p", - "trunk-8c4p", - "breakout-1c2p-2c1p", - "breakout-1c4p-4c1p", - "breakout-1c6p-6c1p", - "breakout-2c4p-8c1p-shuffle", - "" - ], - "type": "string", - "description": "* `single-1c1p` - 1C1P\n* `single-1c2p` - 1C2P\n* `single-1c4p` - 1C4P\n* `single-1c6p` - 1C6P\n* `single-1c8p` - 1C8P\n* `single-1c12p` - 1C12P\n* `single-1c16p` - 1C16P\n* `trunk-2c1p` - 2C1P trunk\n* `trunk-2c2p` - 2C2P trunk\n* `trunk-2c4p` - 2C4P trunk\n* `trunk-2c4p-shuffle` - 2C4P trunk (shuffle)\n* `trunk-2c6p` - 2C6P trunk\n* `trunk-2c8p` - 2C8P trunk\n* `trunk-2c12p` - 2C12P trunk\n* `trunk-4c1p` - 4C1P trunk\n* `trunk-4c2p` - 4C2P trunk\n* `trunk-4c4p` - 4C4P trunk\n* `trunk-4c4p-shuffle` - 4C4P trunk (shuffle)\n* `trunk-4c6p` - 4C6P trunk\n* `trunk-4c8p` - 4C8P trunk\n* `trunk-8c4p` - 8C4P trunk\n* `breakout-1c2p-2c1p` - 1C2P:2C1P breakout\n* `breakout-1c4p-4c1p` - 1C4P:4C1P breakout\n* `breakout-1c6p-6c1p` - 1C6P:6C1P breakout\n* `breakout-2c4p-8c1p-shuffle` - 2C4P:8C1P breakout (shuffle)", - "x-spec-enum-id": "f566e6df6572f5d0" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "type" - ] - }, "Circuit": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -249092,8 +229448,16 @@ "nullable": true }, "cable_end": { + "enum": [ + "A", + "B", + null + ], "type": "string", - "readOnly": true + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "readOnly": true, + "nullable": true }, "link_peers": { "type": "array", @@ -250765,8 +231129,16 @@ "nullable": true }, "cable_end": { + "enum": [ + "A", + "B", + null + ], "type": "string", - "readOnly": true + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "readOnly": true, + "nullable": true }, "link_peers": { "type": "array", @@ -251308,8 +231680,16 @@ "nullable": true }, "cable_end": { + "enum": [ + "A", + "B", + null + ], "type": "string", - "readOnly": true + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "readOnly": true, + "nullable": true }, "link_peers": { "type": "array", @@ -252351,229 +232731,6 @@ "slug" ] }, - "Courier": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Full name of the courier", - "maxLength": 100 - }, - "code": { - "type": "string", - "description": "Internal courier code", - "maxLength": 100 - }, - "tracking_url": { - "type": "string", - "format": "uri", - "description": "Tracking numbers will be linked using this URL", - "maxLength": 200 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "name", - "url" - ] - }, - "CourierAccount": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "courier": { - "$ref": "#/components/schemas/BriefCourier" - }, - "account_number": { - "type": "string", - "description": "Account number with the courier", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "account_number", - "courier", - "created", - "display", - "id", - "last_updated", - "url" - ] - }, - "CourierAccountRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "courier": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCourierRequest" - } - ] - }, - "account_number": { - "type": "string", - "minLength": 1, - "description": "Account number with the courier", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "account_number", - "courier" - ] - }, - "CourierRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the courier", - "maxLength": 100 - }, - "code": { - "type": "string", - "description": "Internal courier code", - "maxLength": 100 - }, - "tracking_url": { - "type": "string", - "format": "uri", - "description": "Tracking numbers will be linked using this URL", - "maxLength": 200 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, "CreateAvailableVLANRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -256791,8 +236948,16 @@ "nullable": true }, "cable_end": { + "enum": [ + "A", + "B", + null + ], "type": "string", - "readOnly": true + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "readOnly": true, + "nullable": true }, "link_peers": { "type": "array", @@ -260733,8 +240898,16 @@ "nullable": true }, "cable_end": { + "enum": [ + "A", + "B", + null + ], "type": "string", - "readOnly": true + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "readOnly": true, + "nullable": true }, "wireless_link": { "allOf": [ @@ -267318,111 +247491,6 @@ "name" ] }, - "POLineItem": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "purchase_order": { - "$ref": "#/components/schemas/BriefPurchaseOrder" - }, - "bom_line_item": { - "$ref": "#/components/schemas/BriefBOMLineItem" - }, - "qty_ordered": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "title": "Quantity ordered" - }, - "unit_price": { - "type": "number", - "format": "double", - "maximum": 100000000, - "minimum": -100000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "total_price": { - "type": "number", - "format": "double", - "maximum": 10000000000, - "minimum": -10000000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "readOnly": true, - "nullable": true - } - }, - "required": [ - "bom_line_item", - "display", - "id", - "purchase_order", - "qty_ordered", - "total_price", - "url" - ] - }, - "POLineItemRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "purchase_order": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefPurchaseOrderRequest" - } - ] - }, - "bom_line_item": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMLineItemRequest" - } - ] - }, - "qty_ordered": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "title": "Quantity ordered" - }, - "unit_price": { - "type": "number", - "format": "double", - "maximum": 100000000, - "minimum": -100000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - } - }, - "required": [ - "bom_line_item", - "purchase_order", - "qty_ordered" - ] - }, "PaginatedASNList": { "type": "object", "required": [ @@ -267516,130 +247584,6 @@ } } }, - "PaginatedBOMLineItemList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItem" - } - } - } - }, - "PaginatedBOMList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOM" - } - } - } - }, - "PaginatedBOMObjectList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObject" - } - } - } - }, - "PaginatedBOMScopeRuleList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMScopeRule" - } - } - } - }, "PaginatedBookmarkList": { "type": "object", "required": [ @@ -267733,37 +247677,6 @@ } } }, - "PaginatedCableTypeList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableType" - } - } - } - }, "PaginatedCircuitGroupAssignmentList": { "type": "object", "required": [ @@ -268353,68 +248266,6 @@ } } }, - "PaginatedCourierAccountList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccount" - } - } - } - }, - "PaginatedCourierList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Courier" - } - } - } - }, "PaginatedCustomFieldChoiceSetList": { "type": "object", "required": [ @@ -269934,37 +249785,6 @@ } } }, - "PaginatedPOLineItemList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItem" - } - } - } - }, "PaginatedPlatformList": { "type": "object", "required": [ @@ -270306,37 +250126,6 @@ } } }, - "PaginatedPurchaseOrderList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PurchaseOrder" - } - } - } - }, "PaginatedRIRList": { "type": "object", "required": [ @@ -270802,68 +250591,6 @@ } } }, - "PaginatedShipmentLineItemList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItem" - } - } - } - }, - "PaginatedShipmentList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Shipment" - } - } - } - }, "PaginatedSiteGroupList": { "type": "object", "required": [ @@ -270926,99 +250653,6 @@ } } }, - "PaginatedSpareItemList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpareItem" - } - } - } - }, - "PaginatedSparesPoolList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPool" - } - } - } - }, - "PaginatedStatusTransitionRuleList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRule" - } - } - } - }, "PaginatedSubscriptionList": { "type": "object", "required": [ @@ -271546,68 +251180,6 @@ } } }, - "PaginatedVendorAccountList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccount" - } - } - } - }, - "PaginatedVendorList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Vendor" - } - } - } - }, "PaginatedVirtualChassisList": { "type": "object", "required": [ @@ -272121,64 +251693,6 @@ } } }, - "PatchedBOMLineItemRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "quantity": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "variant": { - "nullable": true - } - } - }, - "PatchedBOMObjectRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - } - } - }, "PatchedBookmarkRequest": { "type": "object", "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", @@ -272204,102 +251718,6 @@ } } }, - "PatchedCableTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "type": { - "enum": [ - "cat3", - "cat5", - "cat5e", - "cat6", - "cat6a", - "cat7", - "cat7a", - "cat8", - "mrj21-trunk", - "dac-active", - "dac-passive", - "coaxial", - "rg-6", - "rg-8", - "rg-11", - "rg-59", - "rg-62", - "rg-213", - "lmr-100", - "lmr-200", - "lmr-400", - "mmf", - "mmf-om1", - "mmf-om2", - "mmf-om3", - "mmf-om4", - "mmf-om5", - "smf", - "smf-os1", - "smf-os2", - "aoc", - "power", - "usb" - ], - "type": "string", - "description": "* `cat3` - CAT3\n* `cat5` - CAT5\n* `cat5e` - CAT5e\n* `cat6` - CAT6\n* `cat6a` - CAT6a\n* `cat7` - CAT7\n* `cat7a` - CAT7a\n* `cat8` - CAT8\n* `mrj21-trunk` - MRJ21 Trunk\n* `dac-active` - Direct Attach Copper (Active)\n* `dac-passive` - Direct Attach Copper (Passive)\n* `coaxial` - Coaxial\n* `rg-6` - RG-6\n* `rg-8` - RG-8\n* `rg-11` - RG-11\n* `rg-59` - RG-59\n* `rg-62` - RG-62\n* `rg-213` - RG-213\n* `lmr-100` - LMR-100\n* `lmr-200` - LMR-200\n* `lmr-400` - LMR-400\n* `mmf` - Multimode Fiber\n* `mmf-om1` - Multimode Fiber (OM1)\n* `mmf-om2` - Multimode Fiber (OM2)\n* `mmf-om3` - Multimode Fiber (OM3)\n* `mmf-om4` - Multimode Fiber (OM4)\n* `mmf-om5` - Multimode Fiber (OM5)\n* `smf` - Single-mode Fiber\n* `smf-os1` - Single-mode Fiber (OS1)\n* `smf-os2` - Single-mode Fiber (OS2)\n* `aoc` - Active Optical Cabling (AOC)\n* `power` - Power\n* `usb` - USB", - "x-spec-enum-id": "3d4d8d7ae24f7be8" - }, - "profile": { - "enum": [ - "single-1c1p", - "single-1c2p", - "single-1c4p", - "single-1c6p", - "single-1c8p", - "single-1c12p", - "single-1c16p", - "trunk-2c1p", - "trunk-2c2p", - "trunk-2c4p", - "trunk-2c4p-shuffle", - "trunk-2c6p", - "trunk-2c8p", - "trunk-2c12p", - "trunk-4c1p", - "trunk-4c2p", - "trunk-4c4p", - "trunk-4c4p-shuffle", - "trunk-4c6p", - "trunk-4c8p", - "trunk-8c4p", - "breakout-1c2p-2c1p", - "breakout-1c4p-4c1p", - "breakout-1c6p-6c1p", - "breakout-2c4p-8c1p-shuffle", - "" - ], - "type": "string", - "description": "* `single-1c1p` - 1C1P\n* `single-1c2p` - 1C2P\n* `single-1c4p` - 1C4P\n* `single-1c6p` - 1C6P\n* `single-1c8p` - 1C8P\n* `single-1c12p` - 1C12P\n* `single-1c16p` - 1C16P\n* `trunk-2c1p` - 2C1P trunk\n* `trunk-2c2p` - 2C2P trunk\n* `trunk-2c4p` - 2C4P trunk\n* `trunk-2c4p-shuffle` - 2C4P trunk (shuffle)\n* `trunk-2c6p` - 2C6P trunk\n* `trunk-2c8p` - 2C8P trunk\n* `trunk-2c12p` - 2C12P trunk\n* `trunk-4c1p` - 4C1P trunk\n* `trunk-4c2p` - 4C2P trunk\n* `trunk-4c4p` - 4C4P trunk\n* `trunk-4c4p-shuffle` - 4C4P trunk (shuffle)\n* `trunk-4c6p` - 4C6P trunk\n* `trunk-4c8p` - 4C8P trunk\n* `trunk-8c4p` - 8C4P trunk\n* `breakout-1c2p-2c1p` - 1C2P:2C1P breakout\n* `breakout-1c4p-4c1p` - 1C4P:4C1P breakout\n* `breakout-1c6p-6c1p` - 1C6P:6C1P breakout\n* `breakout-2c4p-8c1p-shuffle` - 2C4P:8C1P breakout (shuffle)", - "x-spec-enum-id": "f566e6df6572f5d0" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedCircuitGroupRequest": { "type": "object", "description": "Base serializer class for models inheriting from OrganizationalModel.", @@ -273002,85 +252420,6 @@ } } }, - "PatchedCourierAccountRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "courier": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCourierRequest" - } - ] - }, - "account_number": { - "type": "string", - "minLength": 1, - "description": "Account number with the courier", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedCourierRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the courier", - "maxLength": 100 - }, - "code": { - "type": "string", - "description": "Internal courier code", - "maxLength": 100 - }, - "tracking_url": { - "type": "string", - "format": "uri", - "description": "Tracking numbers will be linked using this URL", - "maxLength": 200 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedCustomLinkRequest": { "type": "object", "description": "Adds an `owner` field for models which have a ForeignKey to users.Owner.", @@ -274162,47 +253501,6 @@ } } }, - "PatchedPOLineItemRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "purchase_order": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefPurchaseOrderRequest" - } - ] - }, - "bom_line_item": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMLineItemRequest" - } - ] - }, - "qty_ordered": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "title": "Quantity ordered" - }, - "unit_price": { - "type": "number", - "format": "double", - "maximum": 100000000, - "minimum": -100000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - } - } - }, "PatchedPowerPanelRequest": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -274758,139 +254056,6 @@ } } }, - "PatchedShipmentLineItemRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "shipment": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefShipmentRequest" - } - ] - }, - "bom_line_item": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMLineItemRequest" - } - ] - }, - "qty_shipped": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "title": "Quantity shipped" - }, - "qty_received": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "nullable": true, - "title": "Quantity received" - } - } - }, - "PatchedSparesPoolRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ] - }, - "location": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocationRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedStatusTransitionRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "object_type": { - "type": "string" - }, - "from_status": { - "type": "string", - "minLength": 1, - "maxLength": 50 - }, - "to_status": { - "type": "string", - "minLength": 1, - "maxLength": 50 - }, - "allow_reverse": { - "type": "boolean", - "description": "If enabled, the transition is permitted in either direction." - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedSubscriptionRequest": { "type": "object", "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", @@ -275469,79 +254634,6 @@ } } }, - "PatchedVendorAccountRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "vendor": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorRequest" - } - ] - }, - "account_number": { - "type": "string", - "minLength": 1, - "description": "Account number with the vendor", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedVendorRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the vendor", - "maxLength": 100 - }, - "code": { - "type": "string", - "description": "Internal vendor code", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedVirtualCircuitTypeRequest": { "type": "object", "description": "Base serializer class for models inheriting from OrganizationalModel.", @@ -275816,104 +254908,6 @@ } } }, - "PatchedWritableBOMRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "status": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "last_generated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableBOMScopeRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "enabled": { - "type": "boolean", - "description": "If not checked, this rule will be ignored when generating the BOM." - }, - "action": { - "enum": [ - "include", - "exclude" - ], - "type": "string", - "description": "* `include` - Include\n* `exclude` - Exclude", - "x-spec-enum-id": "a49ba53d958c43ee" - }, - "parameters": {}, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritableCableRequest": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -281754,103 +260748,6 @@ } } }, - "PatchedWritablePurchaseOrderRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "vendor": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorRequest" - } - ] - }, - "vendor_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorAccountRequest" - } - ] - }, - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "order_id": { - "type": "string", - "description": "Order ID with the vendor" - }, - "status": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "currency": { - "enum": [ - "USD", - "EUR", - "GBP", - "JPY", - "CAD", - "AUD", - "CHF", - "CNY", - "HKD", - "SGD", - "INR", - "MXN", - "BRL", - "KRW", - "SEK", - "NOK", - "DKK", - "NZD", - "ZAR", - "AED", - "" - ], - "type": "string", - "x-spec-enum-id": "1a43388815798dc6", - "description": "Currency for line item pricing\n\n* `USD` - USD – US Dollar\n* `EUR` - EUR – Euro\n* `GBP` - GBP – British Pound\n* `JPY` - JPY – Japanese Yen\n* `CAD` - CAD – Canadian Dollar\n* `AUD` - AUD – Australian Dollar\n* `CHF` - CHF – Swiss Franc\n* `CNY` - CNY – Chinese Yuan\n* `HKD` - HKD – Hong Kong Dollar\n* `SGD` - SGD – Singapore Dollar\n* `INR` - INR – Indian Rupee\n* `MXN` - MXN – Mexican Peso\n* `BRL` - BRL – Brazilian Real\n* `KRW` - KRW – South Korean Won\n* `SEK` - SEK – Swedish Krona\n* `NOK` - NOK – Norwegian Krone\n* `DKK` - DKK – Danish Krone\n* `NZD` - NZD – New Zealand Dollar\n* `ZAR` - ZAR – South African Rand\n* `AED` - AED – UAE Dirham" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritableRackRequest": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -282882,131 +261779,6 @@ } } }, - "PatchedWritableShipmentRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "purchase_order": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefPurchaseOrderRequest" - } - ] - }, - "courier": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCourierRequest" - } - ] - }, - "courier_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCourierAccountRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "location": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocationRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tracking_number": { - "type": "string", - "minLength": 1, - "description": "Tracking number provided by the courier", - "maxLength": 100 - }, - "status": { - "enum": [ - "prepared", - "shipped", - "received", - "cancelled", - "returned", - "lost" - ], - "type": "string", - "description": "* `prepared` - Prepared\n* `shipped` - Shipped\n* `received` - Received\n* `cancelled` - Cancelled\n* `returned` - Returned\n* `lost` - Lost", - "x-spec-enum-id": "90d5c62b9534fcda" - }, - "date_shipped": { - "type": "string", - "format": "date", - "nullable": true - }, - "date_expected": { - "type": "string", - "format": "date", - "nullable": true - }, - "date_received": { - "type": "string", - "format": "date", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritableSiteGroupRequest": { "type": "object", "description": "Base serializer class for models inheriting from NestedGroupModel.", @@ -283214,78 +261986,6 @@ } } }, - "PatchedWritableSpareItemRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "pool": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSparesPoolRequest" - } - ] - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "variant": { - "nullable": true - }, - "status": { - "enum": [ - "serviceable", - "damaged", - "missing" - ], - "type": "string", - "description": "* `serviceable` - Serviceable\n* `damaged` - Damaged\n* `missing` - Missing", - "x-spec-enum-id": "800a019a62f1910f" - }, - "quantity": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "serial": { - "type": "string", - "title": "Serial number", - "description": "Serial number assigned by the manufacturer", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag assigned by the organization", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritableTenantGroupRequest": { "type": "object", "description": "Base serializer class for models inheriting from NestedGroupModel.", @@ -285126,8 +263826,16 @@ "nullable": true }, "cable_end": { + "enum": [ + "A", + "B", + null + ], "type": "string", - "readOnly": true + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "readOnly": true, + "nullable": true }, "link_peers": { "type": "array", @@ -285715,8 +264423,16 @@ "nullable": true }, "cable_end": { + "enum": [ + "A", + "B", + null + ], "type": "string", - "readOnly": true + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "readOnly": true, + "nullable": true }, "link_peers": { "type": "array", @@ -287033,8 +265749,16 @@ "nullable": true }, "cable_end": { + "enum": [ + "A", + "B", + null + ], "type": "string", - "readOnly": true + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "readOnly": true, + "nullable": true }, "link_peers": { "type": "array", @@ -288621,268 +267345,6 @@ "slug" ] }, - "PurchaseOrder": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "vendor": { - "$ref": "#/components/schemas/BriefVendor" - }, - "vendor_account": { - "$ref": "#/components/schemas/BriefVendorAccount" - }, - "bom": { - "$ref": "#/components/schemas/BriefBOM" - }, - "order_id": { - "type": "string", - "description": "Order ID with the vendor" - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "label": { - "type": "string", - "enum": [ - "Draft", - "Approved", - "Ordered", - "Fulfilled", - "Cancelled" - ] - } - } - }, - "currency": { - "type": "object", - "properties": { - "value": { - "enum": [ - "USD", - "EUR", - "GBP", - "JPY", - "CAD", - "AUD", - "CHF", - "CNY", - "HKD", - "SGD", - "INR", - "MXN", - "BRL", - "KRW", - "SEK", - "NOK", - "DKK", - "NZD", - "ZAR", - "AED", - "" - ], - "type": "string", - "description": "* `USD` - USD – US Dollar\n* `EUR` - EUR – Euro\n* `GBP` - GBP – British Pound\n* `JPY` - JPY – Japanese Yen\n* `CAD` - CAD – Canadian Dollar\n* `AUD` - AUD – Australian Dollar\n* `CHF` - CHF – Swiss Franc\n* `CNY` - CNY – Chinese Yuan\n* `HKD` - HKD – Hong Kong Dollar\n* `SGD` - SGD – Singapore Dollar\n* `INR` - INR – Indian Rupee\n* `MXN` - MXN – Mexican Peso\n* `BRL` - BRL – Brazilian Real\n* `KRW` - KRW – South Korean Won\n* `SEK` - SEK – Swedish Krona\n* `NOK` - NOK – Norwegian Krone\n* `DKK` - DKK – Danish Krone\n* `NZD` - NZD – New Zealand Dollar\n* `ZAR` - ZAR – South African Rand\n* `AED` - AED – UAE Dirham", - "x-spec-enum-id": "1a43388815798dc6" - }, - "label": { - "type": "string", - "enum": [ - "USD – US Dollar", - "EUR – Euro", - "GBP – British Pound", - "JPY – Japanese Yen", - "CAD – Canadian Dollar", - "AUD – Australian Dollar", - "CHF – Swiss Franc", - "CNY – Chinese Yuan", - "HKD – Hong Kong Dollar", - "SGD – Singapore Dollar", - "INR – Indian Rupee", - "MXN – Mexican Peso", - "BRL – Brazilian Real", - "KRW – South Korean Won", - "SEK – Swedish Krona", - "NOK – Norwegian Krone", - "DKK – Danish Krone", - "NZD – New Zealand Dollar", - "ZAR – South African Rand", - "AED – UAE Dirham" - ] - } - } - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "bom", - "created", - "currency", - "display", - "id", - "last_updated", - "status", - "url", - "vendor", - "vendor_account" - ] - }, - "PurchaseOrderRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "vendor": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorRequest" - } - ] - }, - "vendor_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorAccountRequest" - } - ] - }, - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "order_id": { - "type": "string", - "description": "Order ID with the vendor" - }, - "status": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "currency": { - "enum": [ - "USD", - "EUR", - "GBP", - "JPY", - "CAD", - "AUD", - "CHF", - "CNY", - "HKD", - "SGD", - "INR", - "MXN", - "BRL", - "KRW", - "SEK", - "NOK", - "DKK", - "NZD", - "ZAR", - "AED", - "" - ], - "type": "string", - "description": "* `USD` - USD – US Dollar\n* `EUR` - EUR – Euro\n* `GBP` - GBP – British Pound\n* `JPY` - JPY – Japanese Yen\n* `CAD` - CAD – Canadian Dollar\n* `AUD` - AUD – Australian Dollar\n* `CHF` - CHF – Swiss Franc\n* `CNY` - CNY – Chinese Yuan\n* `HKD` - HKD – Hong Kong Dollar\n* `SGD` - SGD – Singapore Dollar\n* `INR` - INR – Indian Rupee\n* `MXN` - MXN – Mexican Peso\n* `BRL` - BRL – Brazilian Real\n* `KRW` - KRW – South Korean Won\n* `SEK` - SEK – Swedish Krona\n* `NOK` - NOK – Norwegian Krone\n* `DKK` - DKK – Danish Krone\n* `NZD` - NZD – New Zealand Dollar\n* `ZAR` - ZAR – South African Rand\n* `AED` - AED – UAE Dirham", - "x-spec-enum-id": "1a43388815798dc6" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "bom", - "currency", - "status", - "vendor", - "vendor_account" - ] - }, "RIR": { "type": "object", "description": "Base serializer class for models inheriting from OrganizationalModel.", @@ -290755,8 +269217,16 @@ "nullable": true }, "cable_end": { + "enum": [ + "A", + "B", + null + ], "type": "string", - "readOnly": true + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "readOnly": true, + "nullable": true }, "link_peers": { "type": "array", @@ -292576,371 +271046,6 @@ "ports" ] }, - "Shipment": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "purchase_order": { - "$ref": "#/components/schemas/BriefPurchaseOrder" - }, - "courier": { - "$ref": "#/components/schemas/BriefCourier" - }, - "courier_account": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCourierAccount" - } - ], - "nullable": true - }, - "site": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSite" - } - ], - "nullable": true - }, - "location": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocation" - } - ], - "nullable": true - }, - "tracking_number": { - "type": "string", - "description": "Tracking number provided by the courier", - "maxLength": 100 - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "prepared", - "shipped", - "received", - "cancelled", - "returned", - "lost" - ], - "type": "string", - "description": "* `prepared` - Prepared\n* `shipped` - Shipped\n* `received` - Received\n* `cancelled` - Cancelled\n* `returned` - Returned\n* `lost` - Lost", - "x-spec-enum-id": "90d5c62b9534fcda" - }, - "label": { - "type": "string", - "enum": [ - "Prepared", - "Shipped", - "Received", - "Cancelled", - "Returned", - "Lost" - ] - } - } - }, - "date_shipped": { - "type": "string", - "format": "date", - "nullable": true - }, - "date_expected": { - "type": "string", - "format": "date", - "nullable": true - }, - "date_received": { - "type": "string", - "format": "date", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "courier", - "courier_account", - "created", - "display", - "id", - "last_updated", - "location", - "purchase_order", - "site", - "status", - "tracking_number", - "url" - ] - }, - "ShipmentLineItem": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "shipment": { - "$ref": "#/components/schemas/BriefShipment" - }, - "bom_line_item": { - "$ref": "#/components/schemas/BriefBOMLineItem" - }, - "qty_shipped": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "title": "Quantity shipped" - }, - "qty_received": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "nullable": true, - "title": "Quantity received" - } - }, - "required": [ - "bom_line_item", - "display", - "id", - "qty_shipped", - "shipment", - "url" - ] - }, - "ShipmentLineItemRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "shipment": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefShipmentRequest" - } - ] - }, - "bom_line_item": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMLineItemRequest" - } - ] - }, - "qty_shipped": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "title": "Quantity shipped" - }, - "qty_received": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "nullable": true, - "title": "Quantity received" - } - }, - "required": [ - "bom_line_item", - "qty_shipped", - "shipment" - ] - }, - "ShipmentRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "purchase_order": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefPurchaseOrderRequest" - } - ] - }, - "courier": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCourierRequest" - } - ] - }, - "courier_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCourierAccountRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "location": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocationRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tracking_number": { - "type": "string", - "minLength": 1, - "description": "Tracking number provided by the courier", - "maxLength": 100 - }, - "status": { - "enum": [ - "prepared", - "shipped", - "received", - "cancelled", - "returned", - "lost" - ], - "type": "string", - "description": "* `prepared` - Prepared\n* `shipped` - Shipped\n* `received` - Received\n* `cancelled` - Cancelled\n* `returned` - Returned\n* `lost` - Lost", - "x-spec-enum-id": "90d5c62b9534fcda" - }, - "date_shipped": { - "type": "string", - "format": "date", - "nullable": true - }, - "date_expected": { - "type": "string", - "format": "date", - "nullable": true - }, - "date_received": { - "type": "string", - "format": "date", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "courier", - "courier_account", - "location", - "purchase_order", - "site", - "status", - "tracking_number" - ] - }, "Site": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -293475,453 +271580,6 @@ "slug" ] }, - "SpareItem": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "pool": { - "$ref": "#/components/schemas/BriefSparesPool" - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "object": { - "readOnly": true, - "nullable": true - }, - "variant": { - "nullable": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "serviceable", - "damaged", - "missing" - ], - "type": "string", - "description": "* `serviceable` - Serviceable\n* `damaged` - Damaged\n* `missing` - Missing", - "x-spec-enum-id": "800a019a62f1910f" - }, - "label": { - "type": "string", - "enum": [ - "Serviceable", - "Damaged", - "Missing" - ] - } - } - }, - "quantity": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "serial": { - "type": "string", - "title": "Serial number", - "description": "Serial number assigned by the manufacturer", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag assigned by the organization", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "object", - "object_id", - "object_type", - "pool", - "status", - "url" - ] - }, - "SpareItemRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "pool": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSparesPoolRequest" - } - ] - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "variant": { - "nullable": true - }, - "status": { - "enum": [ - "serviceable", - "damaged", - "missing" - ], - "type": "string", - "description": "* `serviceable` - Serviceable\n* `damaged` - Damaged\n* `missing` - Missing", - "x-spec-enum-id": "800a019a62f1910f" - }, - "quantity": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "serial": { - "type": "string", - "title": "Serial number", - "description": "Serial number assigned by the manufacturer", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag assigned by the organization", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "object_id", - "object_type", - "pool", - "status" - ] - }, - "SparesPool": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "site": { - "$ref": "#/components/schemas/BriefSite" - }, - "location": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocation" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "location", - "name", - "site", - "url" - ] - }, - "SparesPoolRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ] - }, - "location": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocationRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "location", - "name", - "site" - ] - }, - "StatusTransitionRule": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "object_type": { - "type": "string" - }, - "from_status": { - "type": "string", - "maxLength": 50 - }, - "to_status": { - "type": "string", - "maxLength": 50 - }, - "allow_reverse": { - "type": "boolean", - "description": "If enabled, the transition is permitted in either direction." - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "from_status", - "id", - "last_updated", - "object_type", - "to_status", - "url" - ] - }, - "StatusTransitionRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "object_type": { - "type": "string" - }, - "from_status": { - "type": "string", - "minLength": 1, - "maxLength": 50 - }, - "to_status": { - "type": "string", - "minLength": 1, - "maxLength": 50 - }, - "allow_reverse": { - "type": "boolean", - "description": "If enabled, the transition is permitted in either direction." - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "from_status", - "object_type", - "to_status" - ] - }, "Subscription": { "type": "object", "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", @@ -297042,217 +274700,6 @@ "name" ] }, - "Vendor": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Full name of the vendor", - "maxLength": 100 - }, - "code": { - "type": "string", - "description": "Internal vendor code", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "name", - "url" - ] - }, - "VendorAccount": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "vendor": { - "$ref": "#/components/schemas/BriefVendor" - }, - "account_number": { - "type": "string", - "description": "Account number with the vendor", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "account_number", - "created", - "display", - "id", - "last_updated", - "url", - "vendor" - ] - }, - "VendorAccountRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "vendor": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorRequest" - } - ] - }, - "account_number": { - "type": "string", - "minLength": 1, - "description": "Account number with the vendor", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "account_number", - "vendor" - ] - }, - "VendorRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the vendor", - "maxLength": 100 - }, - "code": { - "type": "string", - "description": "Internal vendor code", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, "VirtualChassis": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -299994,111 +277441,6 @@ "rir" ] }, - "WritableBOMRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "status": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "last_generated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, - "WritableBOMScopeRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "enabled": { - "type": "boolean", - "description": "If not checked, this rule will be ignored when generating the BOM." - }, - "action": { - "enum": [ - "include", - "exclude" - ], - "type": "string", - "description": "* `include` - Include\n* `exclude` - Exclude", - "x-spec-enum-id": "a49ba53d958c43ee" - }, - "parameters": {}, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "bom", - "object_types" - ] - }, "WritableCableRequest": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -306108,108 +283450,6 @@ "prefix" ] }, - "WritablePurchaseOrderRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "vendor": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorRequest" - } - ] - }, - "vendor_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorAccountRequest" - } - ] - }, - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "order_id": { - "type": "string", - "description": "Order ID with the vendor" - }, - "status": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "currency": { - "enum": [ - "USD", - "EUR", - "GBP", - "JPY", - "CAD", - "AUD", - "CHF", - "CNY", - "HKD", - "SGD", - "INR", - "MXN", - "BRL", - "KRW", - "SEK", - "NOK", - "DKK", - "NZD", - "ZAR", - "AED", - "" - ], - "type": "string", - "x-spec-enum-id": "1a43388815798dc6", - "description": "Currency for line item pricing\n\n* `USD` - USD – US Dollar\n* `EUR` - EUR – Euro\n* `GBP` - GBP – British Pound\n* `JPY` - JPY – Japanese Yen\n* `CAD` - CAD – Canadian Dollar\n* `AUD` - AUD – Australian Dollar\n* `CHF` - CHF – Swiss Franc\n* `CNY` - CNY – Chinese Yuan\n* `HKD` - HKD – Hong Kong Dollar\n* `SGD` - SGD – Singapore Dollar\n* `INR` - INR – Indian Rupee\n* `MXN` - MXN – Mexican Peso\n* `BRL` - BRL – Brazilian Real\n* `KRW` - KRW – South Korean Won\n* `SEK` - SEK – Swedish Krona\n* `NOK` - NOK – Norwegian Krone\n* `DKK` - DKK – Danish Krone\n* `NZD` - NZD – New Zealand Dollar\n* `ZAR` - ZAR – South African Rand\n* `AED` - AED – UAE Dirham" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "bom", - "vendor", - "vendor_account" - ] - }, "WritableRackRequest": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -307282,139 +284522,6 @@ "protocol" ] }, - "WritableShipmentRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "purchase_order": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefPurchaseOrderRequest" - } - ] - }, - "courier": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCourierRequest" - } - ] - }, - "courier_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCourierAccountRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "location": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocationRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tracking_number": { - "type": "string", - "minLength": 1, - "description": "Tracking number provided by the courier", - "maxLength": 100 - }, - "status": { - "enum": [ - "prepared", - "shipped", - "received", - "cancelled", - "returned", - "lost" - ], - "type": "string", - "description": "* `prepared` - Prepared\n* `shipped` - Shipped\n* `received` - Received\n* `cancelled` - Cancelled\n* `returned` - Returned\n* `lost` - Lost", - "x-spec-enum-id": "90d5c62b9534fcda" - }, - "date_shipped": { - "type": "string", - "format": "date", - "nullable": true - }, - "date_expected": { - "type": "string", - "format": "date", - "nullable": true - }, - "date_received": { - "type": "string", - "format": "date", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "courier", - "courier_account", - "location", - "purchase_order", - "site", - "tracking_number" - ] - }, "WritableSiteGroupRequest": { "type": "object", "description": "Base serializer class for models inheriting from NestedGroupModel.", @@ -307630,83 +284737,6 @@ "slug" ] }, - "WritableSpareItemRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "pool": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSparesPoolRequest" - } - ] - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "variant": { - "nullable": true - }, - "status": { - "enum": [ - "serviceable", - "damaged", - "missing" - ], - "type": "string", - "description": "* `serviceable` - Serviceable\n* `damaged` - Damaged\n* `missing` - Missing", - "x-spec-enum-id": "800a019a62f1910f" - }, - "quantity": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "serial": { - "type": "string", - "title": "Serial number", - "description": "Serial number assigned by the manufacturer", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag assigned by the organization", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "object_id", - "object_type", - "pool" - ] - }, "WritableTenantGroupRequest": { "type": "object", "description": "Base serializer class for models inheriting from NestedGroupModel.", diff --git a/docs/release-notes/version-4.5.md b/docs/release-notes/version-4.5.md index ed5f6e301..86519d907 100644 --- a/docs/release-notes/version-4.5.md +++ b/docs/release-notes/version-4.5.md @@ -1,5 +1,17 @@ # NetBox v4.5 +## v4.5.10 (2026-05-04) + +### Bug Fixes + +* [#21990](https://github.com/netbox-community/netbox/issues/21990) - Fix erroneous deletion of device assignment when editing a virtual machine +* [#22005](https://github.com/netbox-community/netbox/issues/22005) - Fix filtering of interfaces by `connected` status to exclude incomplete cable paths +* [#22029](https://github.com/netbox-community/netbox/issues/22029) - Recast empty string values as null for unique nullable fields to avoid integrity errors +* [#22031](https://github.com/netbox-community/netbox/issues/22031) - Fix error when adding a prefix from a VLAN with no tenant/site +* [#22084](https://github.com/netbox-community/netbox/issues/22084) - Correct OpenAPI schema for `cable_end` field on cabled objects to indicate it may be null + +--- + ## v4.5.9 (2026-04-28) ### Enhancements diff --git a/netbox/release.yaml b/netbox/release.yaml index e13d844b5..589a81ea8 100644 --- a/netbox/release.yaml +++ b/netbox/release.yaml @@ -1,3 +1,3 @@ -version: "4.5.9" +version: "4.5.10" edition: "Community" -published: "2026-04-28" +published: "2026-05-04" diff --git a/pyproject.toml b/pyproject.toml index e974832bd..6f9af1e3c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "netbox" -version = "4.5.9" +version = "4.5.10" requires-python = ">=3.12" description = "The premier source of truth powering network automation." readme = "README.md" diff --git a/requirements.txt b/requirements.txt index 46697ba0e..917a278df 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,7 +17,7 @@ django-taggit==6.1.0 django-timezone-field==7.2.1 djangorestframework==3.16.1 drf-spectacular==0.29.0 -drf-spectacular-sidecar==2026.4.14 +drf-spectacular-sidecar==2026.5.1 feedparser==6.0.12 gunicorn==25.3.0 Jinja2==3.1.6 @@ -30,15 +30,15 @@ mkdocstrings-python==2.0.3 netaddr==1.3.0 nh3==0.3.5 Pillow==12.2.0 -psycopg[c,pool]==3.3.3 +psycopg[c,pool]==3.3.4 PyYAML==6.0.3 requests==2.33.1 rq==2.8.0 -social-auth-app-django==5.8.0 +social-auth-app-django==5.9.0 social-auth-core==4.8.7 sorl-thumbnail==13.0.0 -strawberry-graphql==0.315.2 -strawberry-graphql-django==0.82.1 +strawberry-graphql==0.315.3 +strawberry-graphql-django==0.84.0 svgwrite==1.4.3 tablib==3.9.0 tzdata==2026.2