From b9c4b433f0ff9b49e031f4fa3c58e933b7157de4 Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Wed, 29 Apr 2026 10:19:08 -0400 Subject: [PATCH 1/5] Finish building openapi.json paths and parameters --- config/openapi.json | 121174 ++++++++++++++- lib/manageiq/api/open_api/generator.rb | 56 +- .../api/open_api/operation_builder.rb | 259 + .../api/open_api/parameter_builder.rb | 141 + lib/manageiq/api/open_api/path_builder.rb | 492 + lib/manageiq/api/open_api/schema_builder.rb | 274 + 6 files changed, 122383 insertions(+), 13 deletions(-) create mode 100644 lib/manageiq/api/open_api/operation_builder.rb create mode 100644 lib/manageiq/api/open_api/parameter_builder.rb create mode 100644 lib/manageiq/api/open_api/path_builder.rb create mode 100644 lib/manageiq/api/open_api/schema_builder.rb diff --git a/config/openapi.json b/config/openapi.json index 36e279e9d9..c2f0b952e5 100644 --- a/config/openapi.json +++ b/config/openapi.json @@ -6,9 +6,120981 @@ "description": "REST API" }, "paths": { + "/api/{version}/actions": { + "get": { + "summary": "List Actions", + "description": "Returns a paginated list of Actions", + "operationId": "list_actions", + "tags": [ + "Actions" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "actions" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqAction" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Action", + "description": "Creates a new Action", + "operationId": "create_action", + "tags": [ + "Actions" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAction" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAction" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Actions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_actions", + "tags": [ + "Actions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/actions/{c_id}": { + "get": { + "summary": "Get a Action", + "description": "Returns a single Action by ID", + "operationId": "get_action", + "tags": [ + "Actions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAction" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Action", + "description": "Updates an existing Action", + "operationId": "update_action", + "tags": [ + "Actions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAction" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAction" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Action", + "description": "Updates an existing Action", + "operationId": "update_action", + "tags": [ + "Actions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAction" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAction" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Action", + "description": "Updates an existing Action", + "operationId": "update_action", + "tags": [ + "Actions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAction" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAction" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Action", + "description": "Deletes an existing Action", + "operationId": "delete_action", + "tags": [ + "Actions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Actions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_actions", + "tags": [ + "Actions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/alert_definition_profiles": { + "get": { + "summary": "List Alert Definition Profiles", + "description": "Returns a paginated list of Alert Definition Profiles", + "operationId": "list_alert_definition_profiles", + "tags": [ + "Alert Definition Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "alert_definition_profiles" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqAlertSet" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Alert Definition Profile", + "description": "Creates a new Alert Definition Profile", + "operationId": "create_alert_definition_profile", + "tags": [ + "Alert Definition Profiles" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAlertSet" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAlertSet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Alert Definition Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_alert_definition_profiles", + "tags": [ + "Alert Definition Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/alert_definition_profiles/{c_id}": { + "get": { + "summary": "Get a Alert Definition Profile", + "description": "Returns a single Alert Definition Profile by ID", + "operationId": "get_alert_definition_profile", + "tags": [ + "Alert Definition Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAlertSet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Alert Definition Profile", + "description": "Updates an existing Alert Definition Profile", + "operationId": "update_alert_definition_profile", + "tags": [ + "Alert Definition Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAlertSet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAlertSet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Alert Definition Profile", + "description": "Updates an existing Alert Definition Profile", + "operationId": "update_alert_definition_profile", + "tags": [ + "Alert Definition Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAlertSet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAlertSet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Alert Definition Profile", + "description": "Updates an existing Alert Definition Profile", + "operationId": "update_alert_definition_profile", + "tags": [ + "Alert Definition Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAlertSet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAlertSet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Alert Definition Profile", + "description": "Deletes an existing Alert Definition Profile", + "operationId": "delete_alert_definition_profile", + "tags": [ + "Alert Definition Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Alert Definition Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_alert_definition_profiles", + "tags": [ + "Alert Definition Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/alert_definition_profiles/{c_id}/alert_definitions": { + "get": { + "summary": "List Alert Definitions for Alert Definition Profile", + "description": "Returns a paginated list of Alert Definitions", + "operationId": "list_alert_definition_profile_alert_definitions", + "tags": [ + "Alert Definition Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "alert_definitions" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqAlert" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Alert Definition", + "description": "Creates a new Alert Definition", + "operationId": "create_alert_definition_profile_alert_definition", + "tags": [ + "Alert Definition Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAlert" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAlert" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Alert Definitions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_alert_definitions", + "tags": [ + "Alert Definitions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/alert_definition_profiles/{c_id}/alert_definitions/{s_id}": { + "get": { + "summary": "Get a Alert Definition", + "description": "Returns a single Alert Definition by ID", + "operationId": "get_alert_definition_profile_alert_definition", + "tags": [ + "Alert Definition Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAlert" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Alert Definition", + "description": "Updates an existing Alert Definition", + "operationId": "update_alert_definition_profile_alert_definition", + "tags": [ + "Alert Definition Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAlert" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAlert" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Alert Definition", + "description": "Deletes an existing Alert Definition", + "operationId": "delete_alert_definition_profile_alert_definition", + "tags": [ + "Alert Definition Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Alert Definitions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_alert_definitions", + "tags": [ + "Alert Definitions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/alert_definitions": { + "get": { + "summary": "List Alert Definitions", + "description": "Returns a paginated list of Alert Definitions", + "operationId": "list_alert_definitions", + "tags": [ + "Alert Definitions" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "alert_definitions" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqAlert" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Alert Definition", + "description": "Creates a new Alert Definition", + "operationId": "create_alert_definition", + "tags": [ + "Alert Definitions" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAlert" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAlert" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Alert Definitions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_alert_definitions", + "tags": [ + "Alert Definitions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/alert_definitions/{c_id}": { + "get": { + "summary": "Get a Alert Definition", + "description": "Returns a single Alert Definition by ID", + "operationId": "get_alert_definition", + "tags": [ + "Alert Definitions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAlert" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Alert Definition", + "description": "Updates an existing Alert Definition", + "operationId": "update_alert_definition", + "tags": [ + "Alert Definitions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAlert" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAlert" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Alert Definition", + "description": "Deletes an existing Alert Definition", + "operationId": "delete_alert_definition", + "tags": [ + "Alert Definitions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Alert Definitions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_alert_definitions", + "tags": [ + "Alert Definitions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/alerts": { + "get": { + "summary": "List Alert Statuses", + "description": "Returns a paginated list of Alert Statuses", + "operationId": "list_alerts", + "tags": [ + "Alert Statuses" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "alerts" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqAlertStatus" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Alert Statuses", + "description": "Returns available HTTP methods and actions", + "operationId": "options_alerts", + "tags": [ + "Alert Statuses" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/alerts/{c_id}": { + "get": { + "summary": "Get a Alert Status", + "description": "Returns a single Alert Status by ID", + "operationId": "get_alert", + "tags": [ + "Alert Statuses" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAlertStatus" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Alert Statuses", + "description": "Returns available HTTP methods and actions", + "operationId": "options_alerts", + "tags": [ + "Alert Statuses" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/alerts/{c_id}/alert_actions": { + "get": { + "summary": "List Alert Actions for Alert Status", + "description": "Returns a paginated list of Alert Actions", + "operationId": "list_alert_alert_actions", + "tags": [ + "Alert Statuses" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "alert_actions" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqAlertStatusAction" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Alert Action", + "description": "Creates a new Alert Action", + "operationId": "create_alert_alert_action", + "tags": [ + "Alert Statuses" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAlertStatusAction" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAlertStatusAction" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Alert Actions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_alert_actions", + "tags": [ + "Alert Actions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/alerts/{c_id}/alert_actions/{s_id}": { + "get": { + "summary": "Get a Alert Action", + "description": "Returns a single Alert Action by ID", + "operationId": "get_alert_alert_action", + "tags": [ + "Alert Statuses" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAlertStatusAction" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Alert Action", + "description": "Updates an existing Alert Action", + "operationId": "update_alert_alert_action", + "tags": [ + "Alert Statuses" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAlertStatusAction" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAlertStatusAction" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Alert Actions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_alert_actions", + "tags": [ + "Alert Actions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/auth_key_pairs": { + "get": { + "summary": "List Auth Key Pairs", + "description": "Returns a paginated list of Auth Key Pairs", + "operationId": "list_auth_key_pairs", + "tags": [ + "Auth Key Pairs" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "auth_key_pairs" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Auth Key Pair", + "description": "Creates a new Auth Key Pair", + "operationId": "create_auth_key_pair", + "tags": [ + "Auth Key Pairs" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Auth Key Pairs", + "description": "Returns available HTTP methods and actions", + "operationId": "options_auth_key_pairs", + "tags": [ + "Auth Key Pairs" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/auth_key_pairs/{c_id}": { + "get": { + "summary": "Get a Auth Key Pair", + "description": "Returns a single Auth Key Pair by ID", + "operationId": "get_auth_key_pair", + "tags": [ + "Auth Key Pairs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Auth Key Pair", + "description": "Updates an existing Auth Key Pair", + "operationId": "update_auth_key_pair", + "tags": [ + "Auth Key Pairs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Auth Key Pair", + "description": "Updates an existing Auth Key Pair", + "operationId": "update_auth_key_pair", + "tags": [ + "Auth Key Pairs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Auth Key Pair", + "description": "Updates an existing Auth Key Pair", + "operationId": "update_auth_key_pair", + "tags": [ + "Auth Key Pairs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Auth Key Pair", + "description": "Deletes an existing Auth Key Pair", + "operationId": "delete_auth_key_pair", + "tags": [ + "Auth Key Pairs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Auth Key Pairs", + "description": "Returns available HTTP methods and actions", + "operationId": "options_auth_key_pairs", + "tags": [ + "Auth Key Pairs" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/authentications": { + "get": { + "summary": "List Authentications", + "description": "Returns a paginated list of Authentications", + "operationId": "list_authentications", + "tags": [ + "Authentications" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "authentications" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Authentication" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Authentication", + "description": "Creates a new Authentication", + "operationId": "create_authentication", + "tags": [ + "Authentications" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Authentication" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Authentication" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Authentications", + "description": "Returns available HTTP methods and actions", + "operationId": "options_authentications", + "tags": [ + "Authentications" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/authentications/{c_id}": { + "get": { + "summary": "Get a Authentication", + "description": "Returns a single Authentication by ID", + "operationId": "get_authentication", + "tags": [ + "Authentications" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Authentication" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Authentication", + "description": "Updates an existing Authentication", + "operationId": "update_authentication", + "tags": [ + "Authentications" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Authentication" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Authentication" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Authentication", + "description": "Updates an existing Authentication", + "operationId": "update_authentication", + "tags": [ + "Authentications" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Authentication" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Authentication" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Authentication", + "description": "Updates an existing Authentication", + "operationId": "update_authentication", + "tags": [ + "Authentications" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Authentication" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Authentication" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Authentication", + "description": "Deletes an existing Authentication", + "operationId": "delete_authentication", + "tags": [ + "Authentications" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Authentications", + "description": "Returns available HTTP methods and actions", + "operationId": "options_authentications", + "tags": [ + "Authentications" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/automate": { + "get": { + "summary": "List Automate", + "description": "Returns a paginated list of Automate", + "operationId": "list_automate", + "tags": [ + "Automate" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "automate" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqAeDomain" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Automate", + "description": "Returns available HTTP methods and actions", + "operationId": "options_automate", + "tags": [ + "Automate" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/automate/{c_id}": { + "get": { + "summary": "Get a Automate", + "description": "Returns a single Automate by ID", + "operationId": "get_automate", + "tags": [ + "Automate" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAeDomain" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Automate", + "description": "Returns available HTTP methods and actions", + "operationId": "options_automate", + "tags": [ + "Automate" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/automate_classes": { + "get": { + "summary": "List Automate Classes", + "description": "Returns a paginated list of Automate Classes", + "operationId": "list_automate_classes", + "tags": [ + "Automate Classes" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "automate_classes" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqAeClass" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Automate Class", + "description": "Creates a new Automate Class", + "operationId": "create_automate_class", + "tags": [ + "Automate Classes" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAeClass" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAeClass" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Automate Classes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_automate_classes", + "tags": [ + "Automate Classes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/automate_classes/{c_id}": { + "get": { + "summary": "Get a Automate Class", + "description": "Returns a single Automate Class by ID", + "operationId": "get_automate_class", + "tags": [ + "Automate Classes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAeClass" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Automate Class", + "description": "Updates an existing Automate Class", + "operationId": "update_automate_class", + "tags": [ + "Automate Classes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAeClass" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAeClass" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Automate Class", + "description": "Deletes an existing Automate Class", + "operationId": "delete_automate_class", + "tags": [ + "Automate Classes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Automate Classes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_automate_classes", + "tags": [ + "Automate Classes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/automate_domains": { + "get": { + "summary": "List Automate Domains", + "description": "Returns a paginated list of Automate Domains", + "operationId": "list_automate_domains", + "tags": [ + "Automate Domains" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "automate_domains" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqAeDomain" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Automate Domain", + "description": "Creates a new Automate Domain", + "operationId": "create_automate_domain", + "tags": [ + "Automate Domains" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAeDomain" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAeDomain" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Automate Domains", + "description": "Returns available HTTP methods and actions", + "operationId": "options_automate_domains", + "tags": [ + "Automate Domains" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/automate_domains/{c_id}": { + "get": { + "summary": "Get a Automate Domain", + "description": "Returns a single Automate Domain by ID", + "operationId": "get_automate_domain", + "tags": [ + "Automate Domains" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAeDomain" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Automate Domain", + "description": "Updates an existing Automate Domain", + "operationId": "update_automate_domain", + "tags": [ + "Automate Domains" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAeDomain" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAeDomain" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Automate Domain", + "description": "Updates an existing Automate Domain", + "operationId": "update_automate_domain", + "tags": [ + "Automate Domains" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAeDomain" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAeDomain" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Automate Domain", + "description": "Updates an existing Automate Domain", + "operationId": "update_automate_domain", + "tags": [ + "Automate Domains" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAeDomain" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAeDomain" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Automate Domain", + "description": "Deletes an existing Automate Domain", + "operationId": "delete_automate_domain", + "tags": [ + "Automate Domains" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Automate Domains", + "description": "Returns available HTTP methods and actions", + "operationId": "options_automate_domains", + "tags": [ + "Automate Domains" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/automate_workspaces": { + "get": { + "summary": "List Automate Workspaces", + "description": "Returns a paginated list of Automate Workspaces", + "operationId": "list_automate_workspaces", + "tags": [ + "Automate Workspaces" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "automate_workspaces" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/AutomateWorkspace" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Automate Workspace", + "description": "Creates a new Automate Workspace", + "operationId": "create_automate_workspace", + "tags": [ + "Automate Workspaces" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/AutomateWorkspace" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/AutomateWorkspace" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Automate Workspaces", + "description": "Returns available HTTP methods and actions", + "operationId": "options_automate_workspaces", + "tags": [ + "Automate Workspaces" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/automate_workspaces/{c_id}": { + "get": { + "summary": "Get a Automate Workspace", + "description": "Returns a single Automate Workspace by ID", + "operationId": "get_automate_workspace", + "tags": [ + "Automate Workspaces" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/AutomateWorkspace" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Automate Workspace", + "description": "Updates an existing Automate Workspace", + "operationId": "update_automate_workspace", + "tags": [ + "Automate Workspaces" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/AutomateWorkspace" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/AutomateWorkspace" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Automate Workspaces", + "description": "Returns available HTTP methods and actions", + "operationId": "options_automate_workspaces", + "tags": [ + "Automate Workspaces" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/automation_requests": { + "get": { + "summary": "List Automation Requests", + "description": "Returns a paginated list of Automation Requests", + "operationId": "list_automation_requests", + "tags": [ + "Automation Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "automation_requests" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/AutomationRequest" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Automation Request", + "description": "Creates a new Automation Request", + "operationId": "create_automation_request", + "tags": [ + "Automation Requests" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/AutomationRequest" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/AutomationRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Automation Requests", + "description": "Returns available HTTP methods and actions", + "operationId": "options_automation_requests", + "tags": [ + "Automation Requests" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/automation_requests/{c_id}": { + "get": { + "summary": "Get a Automation Request", + "description": "Returns a single Automation Request by ID", + "operationId": "get_automation_request", + "tags": [ + "Automation Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/AutomationRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Automation Request", + "description": "Updates an existing Automation Request", + "operationId": "update_automation_request", + "tags": [ + "Automation Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/AutomationRequest" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/AutomationRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Automation Requests", + "description": "Returns available HTTP methods and actions", + "operationId": "options_automation_requests", + "tags": [ + "Automation Requests" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/automation_requests/{c_id}/request_tasks": { + "get": { + "summary": "List Request Tasks for Automation Request", + "description": "Returns a paginated list of Request Tasks", + "operationId": "list_automation_request_request_tasks", + "tags": [ + "Automation Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "request_tasks" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqRequestTask" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Request Task", + "description": "Creates a new Request Task", + "operationId": "create_automation_request_request_task", + "tags": [ + "Automation Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqRequestTask" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRequestTask" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Request Tasks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_request_tasks", + "tags": [ + "Request Tasks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/automation_requests/{c_id}/request_tasks/{s_id}": { + "get": { + "summary": "Get a Request Task", + "description": "Returns a single Request Task by ID", + "operationId": "get_automation_request_request_task", + "tags": [ + "Automation Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRequestTask" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Request Task", + "description": "Updates an existing Request Task", + "operationId": "update_automation_request_request_task", + "tags": [ + "Automation Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqRequestTask" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRequestTask" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Request Tasks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_request_tasks", + "tags": [ + "Request Tasks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/availability_zones": { + "get": { + "summary": "List Availability Zones", + "description": "Returns a paginated list of Availability Zones", + "operationId": "list_availability_zones", + "tags": [ + "Availability Zones" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "availability_zones" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/AvailabilityZone" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Availability Zone", + "description": "Creates a new Availability Zone", + "operationId": "create_availability_zone", + "tags": [ + "Availability Zones" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/AvailabilityZone" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/AvailabilityZone" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Availability Zones", + "description": "Returns available HTTP methods and actions", + "operationId": "options_availability_zones", + "tags": [ + "Availability Zones" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/availability_zones/{c_id}": { + "get": { + "summary": "Get a Availability Zone", + "description": "Returns a single Availability Zone by ID", + "operationId": "get_availability_zone", + "tags": [ + "Availability Zones" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/AvailabilityZone" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Availability Zone", + "description": "Executes a custom action on a specific Availability Zone", + "operationId": "action_availability_zone", + "tags": [ + "Availability Zones" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/AvailabilityZone" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/AvailabilityZone" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Availability Zones", + "description": "Returns available HTTP methods and actions", + "operationId": "options_availability_zones", + "tags": [ + "Availability Zones" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/availability_zones/{c_id}/tags": { + "get": { + "summary": "List Tags for Availability Zone", + "description": "Returns a paginated list of Tags", + "operationId": "list_availability_zone_tags", + "tags": [ + "Availability Zones" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_availability_zone_tag", + "tags": [ + "Availability Zones" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/availability_zones/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_availability_zone_tag", + "tags": [ + "Availability Zones" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_availability_zone_tag", + "tags": [ + "Availability Zones" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_availability_zone_tag", + "tags": [ + "Availability Zones" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/categories": { + "get": { + "summary": "List Categories", + "description": "Returns a paginated list of Categories", + "operationId": "list_categories", + "tags": [ + "Categories" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "categories" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Category" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Category", + "description": "Creates a new Category", + "operationId": "create_category", + "tags": [ + "Categories" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Category" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Category" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Categories", + "description": "Returns available HTTP methods and actions", + "operationId": "options_categories", + "tags": [ + "Categories" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/categories/{c_id}": { + "get": { + "summary": "Get a Category", + "description": "Returns a single Category by ID", + "operationId": "get_category", + "tags": [ + "Categories" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Category" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Category", + "description": "Updates an existing Category", + "operationId": "update_category", + "tags": [ + "Categories" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Category" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Category" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Category", + "description": "Deletes an existing Category", + "operationId": "delete_category", + "tags": [ + "Categories" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Categories", + "description": "Returns available HTTP methods and actions", + "operationId": "options_categories", + "tags": [ + "Categories" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/categories/{c_id}/tags": { + "get": { + "summary": "List Tags for Category", + "description": "Returns a paginated list of Tags", + "operationId": "list_category_tags", + "tags": [ + "Categories" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_category_tag", + "tags": [ + "Categories" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/categories/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_category_tag", + "tags": [ + "Categories" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_category_tag", + "tags": [ + "Categories" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_category_tag", + "tags": [ + "Categories" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/chargeable_fields": { + "get": { + "summary": "List Chargeable Fields", + "description": "Returns a paginated list of Chargeable Fields", + "operationId": "list_chargeable_fields", + "tags": [ + "Chargeable Fields" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "chargeable_fields" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ChargeableField" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Chargeable Fields", + "description": "Returns available HTTP methods and actions", + "operationId": "options_chargeable_fields", + "tags": [ + "Chargeable Fields" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/chargeable_fields/{c_id}": { + "get": { + "summary": "Get a Chargeable Field", + "description": "Returns a single Chargeable Field by ID", + "operationId": "get_chargeable_field", + "tags": [ + "Chargeable Fields" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ChargeableField" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Chargeable Fields", + "description": "Returns available HTTP methods and actions", + "operationId": "options_chargeable_fields", + "tags": [ + "Chargeable Fields" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/chargebacks": { + "get": { + "summary": "List Chargebacks", + "description": "Returns a paginated list of Chargebacks", + "operationId": "list_chargebacks", + "tags": [ + "Chargebacks" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "chargebacks" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ChargebackRate" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Chargeback", + "description": "Creates a new Chargeback", + "operationId": "create_chargeback", + "tags": [ + "Chargebacks" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ChargebackRate" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ChargebackRate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Chargebacks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_chargebacks", + "tags": [ + "Chargebacks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/chargebacks/{c_id}": { + "get": { + "summary": "Get a Chargeback", + "description": "Returns a single Chargeback by ID", + "operationId": "get_chargeback", + "tags": [ + "Chargebacks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ChargebackRate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Chargeback", + "description": "Updates an existing Chargeback", + "operationId": "update_chargeback", + "tags": [ + "Chargebacks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ChargebackRate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ChargebackRate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Chargeback", + "description": "Updates an existing Chargeback", + "operationId": "update_chargeback", + "tags": [ + "Chargebacks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ChargebackRate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ChargebackRate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Chargeback", + "description": "Updates an existing Chargeback", + "operationId": "update_chargeback", + "tags": [ + "Chargebacks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ChargebackRate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ChargebackRate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Chargeback", + "description": "Deletes an existing Chargeback", + "operationId": "delete_chargeback", + "tags": [ + "Chargebacks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Chargebacks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_chargebacks", + "tags": [ + "Chargebacks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/chargebacks/{c_id}/rates": { + "get": { + "summary": "List Chargeback Rates for Chargeback", + "description": "Returns a paginated list of Chargeback Rates", + "operationId": "list_chargeback_rates", + "tags": [ + "Chargebacks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "rates" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ChargebackRateDetail" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Chargeback Rate", + "description": "Creates a new Chargeback Rate", + "operationId": "create_chargeback_rate", + "tags": [ + "Chargebacks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ChargebackRateDetail" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ChargebackRateDetail" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Chargeback Rates", + "description": "Returns available HTTP methods and actions", + "operationId": "options_rates", + "tags": [ + "Chargeback Rates" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/chargebacks/{c_id}/rates/{s_id}": { + "get": { + "summary": "Get a Chargeback Rate", + "description": "Returns a single Chargeback Rate by ID", + "operationId": "get_chargeback_rate", + "tags": [ + "Chargebacks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ChargebackRateDetail" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Chargeback Rate", + "description": "Updates an existing Chargeback Rate", + "operationId": "put_chargeback_rate", + "tags": [ + "Chargebacks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ChargebackRateDetail" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ChargebackRateDetail" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Chargeback Rate", + "description": "Updates an existing Chargeback Rate", + "operationId": "update_chargeback_rate", + "tags": [ + "Chargebacks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ChargebackRateDetail" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ChargebackRateDetail" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Chargeback Rate", + "description": "Updates an existing Chargeback Rate", + "operationId": "patch_chargeback_rate", + "tags": [ + "Chargebacks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ChargebackRateDetail" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ChargebackRateDetail" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Chargeback Rate", + "description": "Deletes an existing Chargeback Rate", + "operationId": "delete_chargeback_rate", + "tags": [ + "Chargebacks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Chargeback Rates", + "description": "Returns available HTTP methods and actions", + "operationId": "options_rates", + "tags": [ + "Chargeback Rates" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_database_flavors": { + "get": { + "summary": "List Cloud Database Flavors", + "description": "Returns a paginated list of Cloud Database Flavors", + "operationId": "list_cloud_database_flavors", + "tags": [ + "Cloud Database Flavors" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "cloud_database_flavors" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CloudDatabaseFlavor" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Database Flavors", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_database_flavors", + "tags": [ + "Cloud Database Flavors" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_database_flavors/{c_id}": { + "get": { + "summary": "Get a Cloud Database Flavor", + "description": "Returns a single Cloud Database Flavor by ID", + "operationId": "get_cloud_database_flavor", + "tags": [ + "Cloud Database Flavors" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudDatabaseFlavor" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Database Flavors", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_database_flavors", + "tags": [ + "Cloud Database Flavors" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_databases": { + "get": { + "summary": "List Cloud Databases", + "description": "Returns a paginated list of Cloud Databases", + "operationId": "list_cloud_databases", + "tags": [ + "Cloud Databases" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "cloud_databases" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CloudDatabase" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Cloud Database", + "description": "Creates a new Cloud Database", + "operationId": "create_cloud_database", + "tags": [ + "Cloud Databases" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudDatabase" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudDatabase" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Databases", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_databases", + "tags": [ + "Cloud Databases" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_databases/{c_id}": { + "get": { + "summary": "Get a Cloud Database", + "description": "Returns a single Cloud Database by ID", + "operationId": "get_cloud_database", + "tags": [ + "Cloud Databases" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudDatabase" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Cloud Database", + "description": "Updates an existing Cloud Database", + "operationId": "update_cloud_database", + "tags": [ + "Cloud Databases" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudDatabase" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudDatabase" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Cloud Database", + "description": "Updates an existing Cloud Database", + "operationId": "update_cloud_database", + "tags": [ + "Cloud Databases" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudDatabase" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudDatabase" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Cloud Database", + "description": "Updates an existing Cloud Database", + "operationId": "update_cloud_database", + "tags": [ + "Cloud Databases" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudDatabase" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudDatabase" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Cloud Database", + "description": "Deletes an existing Cloud Database", + "operationId": "delete_cloud_database", + "tags": [ + "Cloud Databases" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Databases", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_databases", + "tags": [ + "Cloud Databases" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_networks": { + "get": { + "summary": "List Cloud Networks", + "description": "Returns a paginated list of Cloud Networks", + "operationId": "list_cloud_networks", + "tags": [ + "Cloud Networks" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "cloud_networks" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CloudNetwork" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Cloud Network", + "description": "Creates a new Cloud Network", + "operationId": "create_cloud_network", + "tags": [ + "Cloud Networks" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudNetwork" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudNetwork" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Networks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_networks", + "tags": [ + "Cloud Networks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_networks/{c_id}": { + "get": { + "summary": "Get a Cloud Network", + "description": "Returns a single Cloud Network by ID", + "operationId": "get_cloud_network", + "tags": [ + "Cloud Networks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudNetwork" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Cloud Network", + "description": "Updates an existing Cloud Network", + "operationId": "update_cloud_network", + "tags": [ + "Cloud Networks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudNetwork" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudNetwork" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Cloud Network", + "description": "Executes a custom action on a specific Cloud Network", + "operationId": "action_cloud_network", + "tags": [ + "Cloud Networks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/CloudNetwork" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudNetwork" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Cloud Network", + "description": "Updates an existing Cloud Network", + "operationId": "update_cloud_network", + "tags": [ + "Cloud Networks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudNetwork" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudNetwork" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Cloud Network", + "description": "Deletes an existing Cloud Network", + "operationId": "delete_cloud_network", + "tags": [ + "Cloud Networks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Networks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_networks", + "tags": [ + "Cloud Networks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_networks/{c_id}/tags": { + "get": { + "summary": "List Tags for Cloud Network", + "description": "Returns a paginated list of Tags", + "operationId": "list_cloud_network_tags", + "tags": [ + "Cloud Networks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_cloud_network_tag", + "tags": [ + "Cloud Networks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_networks/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_cloud_network_tag", + "tags": [ + "Cloud Networks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_cloud_network_tag", + "tags": [ + "Cloud Networks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_cloud_network_tag", + "tags": [ + "Cloud Networks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_object_store_containers": { + "get": { + "summary": "List Cloud Object Store Containers", + "description": "Returns a paginated list of Cloud Object Store Containers", + "operationId": "list_cloud_object_store_containers", + "tags": [ + "Cloud Object Store Containers" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "cloud_object_store_containers" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CloudObjectStoreContainer" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Cloud Object Store Container", + "description": "Creates a new Cloud Object Store Container", + "operationId": "create_cloud_object_store_container", + "tags": [ + "Cloud Object Store Containers" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudObjectStoreContainer" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudObjectStoreContainer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Object Store Containers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_object_store_containers", + "tags": [ + "Cloud Object Store Containers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_object_store_containers/{c_id}": { + "get": { + "summary": "Get a Cloud Object Store Container", + "description": "Returns a single Cloud Object Store Container by ID", + "operationId": "get_cloud_object_store_container", + "tags": [ + "Cloud Object Store Containers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudObjectStoreContainer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Cloud Object Store Container", + "description": "Executes a custom action on a specific Cloud Object Store Container", + "operationId": "action_cloud_object_store_container", + "tags": [ + "Cloud Object Store Containers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/CloudObjectStoreContainer" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudObjectStoreContainer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Object Store Containers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_object_store_containers", + "tags": [ + "Cloud Object Store Containers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_object_store_objects": { + "get": { + "summary": "List Cloud Object Store Objects", + "description": "Returns a paginated list of Cloud Object Store Objects", + "operationId": "list_cloud_object_store_objects", + "tags": [ + "Cloud Object Store Objects" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "cloud_object_store_objects" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CloudObjectStoreObject" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Cloud Object Store Object", + "description": "Creates a new Cloud Object Store Object", + "operationId": "create_cloud_object_store_object", + "tags": [ + "Cloud Object Store Objects" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudObjectStoreObject" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudObjectStoreObject" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Object Store Objects", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_object_store_objects", + "tags": [ + "Cloud Object Store Objects" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_object_store_objects/{c_id}": { + "get": { + "summary": "Get a Cloud Object Store Object", + "description": "Returns a single Cloud Object Store Object by ID", + "operationId": "get_cloud_object_store_object", + "tags": [ + "Cloud Object Store Objects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudObjectStoreObject" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Cloud Object Store Object", + "description": "Updates an existing Cloud Object Store Object", + "operationId": "update_cloud_object_store_object", + "tags": [ + "Cloud Object Store Objects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudObjectStoreObject" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudObjectStoreObject" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Object Store Objects", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_object_store_objects", + "tags": [ + "Cloud Object Store Objects" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_subnets": { + "get": { + "summary": "List Cloud Subnets", + "description": "Returns a paginated list of Cloud Subnets", + "operationId": "list_cloud_subnets", + "tags": [ + "Cloud Subnets" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "cloud_subnets" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CloudSubnet" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Cloud Subnet", + "description": "Creates a new Cloud Subnet", + "operationId": "create_cloud_subnet", + "tags": [ + "Cloud Subnets" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudSubnet" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudSubnet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Subnets", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_subnets", + "tags": [ + "Cloud Subnets" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_subnets/{c_id}": { + "get": { + "summary": "Get a Cloud Subnet", + "description": "Returns a single Cloud Subnet by ID", + "operationId": "get_cloud_subnet", + "tags": [ + "Cloud Subnets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudSubnet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Cloud Subnet", + "description": "Updates an existing Cloud Subnet", + "operationId": "update_cloud_subnet", + "tags": [ + "Cloud Subnets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudSubnet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudSubnet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Cloud Subnet", + "description": "Executes a custom action on a specific Cloud Subnet", + "operationId": "action_cloud_subnet", + "tags": [ + "Cloud Subnets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/CloudSubnet" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudSubnet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Cloud Subnet", + "description": "Updates an existing Cloud Subnet", + "operationId": "update_cloud_subnet", + "tags": [ + "Cloud Subnets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudSubnet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudSubnet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Cloud Subnet", + "description": "Deletes an existing Cloud Subnet", + "operationId": "delete_cloud_subnet", + "tags": [ + "Cloud Subnets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Subnets", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_subnets", + "tags": [ + "Cloud Subnets" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_subnets/{c_id}/tags": { + "get": { + "summary": "List Tags for Cloud Subnet", + "description": "Returns a paginated list of Tags", + "operationId": "list_cloud_subnet_tags", + "tags": [ + "Cloud Subnets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_cloud_subnet_tag", + "tags": [ + "Cloud Subnets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_subnets/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_cloud_subnet_tag", + "tags": [ + "Cloud Subnets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_cloud_subnet_tag", + "tags": [ + "Cloud Subnets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_cloud_subnet_tag", + "tags": [ + "Cloud Subnets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_templates": { + "get": { + "summary": "List Cloud Templates", + "description": "Returns a paginated list of Cloud Templates", + "operationId": "list_cloud_templates", + "tags": [ + "Cloud Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "cloud_templates" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Cloud Template", + "description": "Creates a new Cloud Template", + "operationId": "create_cloud_template", + "tags": [ + "Cloud Templates" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Templates", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_templates", + "tags": [ + "Cloud Templates" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_templates/{c_id}": { + "get": { + "summary": "Get a Cloud Template", + "description": "Returns a single Cloud Template by ID", + "operationId": "get_cloud_template", + "tags": [ + "Cloud Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Cloud Template", + "description": "Updates an existing Cloud Template", + "operationId": "update_cloud_template", + "tags": [ + "Cloud Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Cloud Template", + "description": "Updates an existing Cloud Template", + "operationId": "update_cloud_template", + "tags": [ + "Cloud Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Cloud Template", + "description": "Updates an existing Cloud Template", + "operationId": "update_cloud_template", + "tags": [ + "Cloud Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Cloud Template", + "description": "Deletes an existing Cloud Template", + "operationId": "delete_cloud_template", + "tags": [ + "Cloud Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Templates", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_templates", + "tags": [ + "Cloud Templates" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_tenants": { + "get": { + "summary": "List Cloud Tenants", + "description": "Returns a paginated list of Cloud Tenants", + "operationId": "list_cloud_tenants", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "cloud_tenants" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CloudTenant" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Cloud Tenant", + "description": "Creates a new Cloud Tenant", + "operationId": "create_cloud_tenant", + "tags": [ + "Cloud Tenants" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudTenant" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudTenant" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Tenants", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_tenants", + "tags": [ + "Cloud Tenants" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_tenants/{c_id}": { + "get": { + "summary": "Get a Cloud Tenant", + "description": "Returns a single Cloud Tenant by ID", + "operationId": "get_cloud_tenant", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudTenant" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Cloud Tenant", + "description": "Updates an existing Cloud Tenant", + "operationId": "update_cloud_tenant", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudTenant" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudTenant" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Cloud Tenant", + "description": "Executes a custom action on a specific Cloud Tenant", + "operationId": "action_cloud_tenant", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/CloudTenant" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudTenant" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Cloud Tenant", + "description": "Updates an existing Cloud Tenant", + "operationId": "update_cloud_tenant", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudTenant" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudTenant" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Cloud Tenant", + "description": "Deletes an existing Cloud Tenant", + "operationId": "delete_cloud_tenant", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Tenants", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_tenants", + "tags": [ + "Cloud Tenants" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_tenants/{c_id}/network_services": { + "get": { + "summary": "List Network_Services for Cloud Tenant", + "description": "Returns a paginated list of Network_Services", + "operationId": "list_cloud_tenant_network_services", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "network_services" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/NetworkService" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Network_Service", + "description": "Creates a new Network_Service", + "operationId": "create_cloud_tenant_network_service", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/NetworkService" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/NetworkService" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Network_Services", + "description": "Returns available HTTP methods and actions", + "operationId": "options_network_services", + "tags": [ + "Network_Services" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_tenants/{c_id}/network_services/{s_id}": { + "get": { + "summary": "Get a Network_Service", + "description": "Returns a single Network_Service by ID", + "operationId": "get_cloud_tenant_network_service", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/NetworkService" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Network_Service", + "description": "Updates an existing Network_Service", + "operationId": "update_cloud_tenant_network_service", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/NetworkService" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/NetworkService" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Network_Service", + "description": "Deletes an existing Network_Service", + "operationId": "delete_cloud_tenant_network_service", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Network_Services", + "description": "Returns available HTTP methods and actions", + "operationId": "options_network_services", + "tags": [ + "Network_Services" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_tenants/{c_id}/security_groups": { + "get": { + "summary": "List Security Groups for Cloud Tenant", + "description": "Returns a paginated list of Security Groups", + "operationId": "list_cloud_tenant_security_groups", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "security_groups" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/SecurityGroup" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Security Group", + "description": "Creates a new Security Group", + "operationId": "create_cloud_tenant_security_group", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/SecurityGroup" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security Groups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_groups", + "tags": [ + "Security Groups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_tenants/{c_id}/security_groups/{s_id}": { + "get": { + "summary": "Get a Security Group", + "description": "Returns a single Security Group by ID", + "operationId": "get_cloud_tenant_security_group", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Security Group", + "description": "Updates an existing Security Group", + "operationId": "update_cloud_tenant_security_group", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/SecurityGroup" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security Groups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_groups", + "tags": [ + "Security Groups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_tenants/{c_id}/security_policies": { + "get": { + "summary": "List Security_Policies for Cloud Tenant", + "description": "Returns a paginated list of Security_Policies", + "operationId": "list_cloud_tenant_security_policies", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "security_policies" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/SecurityPolicy" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Security_Policy", + "description": "Creates a new Security_Policy", + "operationId": "create_cloud_tenant_security_policy", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/SecurityPolicy" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security_Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_policies", + "tags": [ + "Security_Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_tenants/{c_id}/security_policies/{s_id}": { + "get": { + "summary": "Get a Security_Policy", + "description": "Returns a single Security_Policy by ID", + "operationId": "get_cloud_tenant_security_policy", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Security_Policy", + "description": "Updates an existing Security_Policy", + "operationId": "update_cloud_tenant_security_policy", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/SecurityPolicy" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Security_Policy", + "description": "Deletes an existing Security_Policy", + "operationId": "delete_cloud_tenant_security_policy", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security_Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_policies", + "tags": [ + "Security_Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_tenants/{c_id}/tags": { + "get": { + "summary": "List Tags for Cloud Tenant", + "description": "Returns a paginated list of Tags", + "operationId": "list_cloud_tenant_tags", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_cloud_tenant_tag", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_tenants/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_cloud_tenant_tag", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_cloud_tenant_tag", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_cloud_tenant_tag", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_volume_snapshots": { + "get": { + "summary": "List Cloud Volume Snapshots", + "description": "Returns a paginated list of Cloud Volume Snapshots", + "operationId": "list_cloud_volume_snapshots", + "tags": [ + "Cloud Volume Snapshots" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "cloud_volume_snapshots" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CloudVolumeSnapshot" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Cloud Volume Snapshot", + "description": "Creates a new Cloud Volume Snapshot", + "operationId": "create_cloud_volume_snapshot", + "tags": [ + "Cloud Volume Snapshots" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudVolumeSnapshot" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudVolumeSnapshot" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Volume Snapshots", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_volume_snapshots", + "tags": [ + "Cloud Volume Snapshots" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_volume_snapshots/{c_id}": { + "get": { + "summary": "Get a Cloud Volume Snapshot", + "description": "Returns a single Cloud Volume Snapshot by ID", + "operationId": "get_cloud_volume_snapshot", + "tags": [ + "Cloud Volume Snapshots" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudVolumeSnapshot" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Cloud Volume Snapshot", + "description": "Updates an existing Cloud Volume Snapshot", + "operationId": "update_cloud_volume_snapshot", + "tags": [ + "Cloud Volume Snapshots" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudVolumeSnapshot" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudVolumeSnapshot" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Cloud Volume Snapshot", + "description": "Updates an existing Cloud Volume Snapshot", + "operationId": "update_cloud_volume_snapshot", + "tags": [ + "Cloud Volume Snapshots" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudVolumeSnapshot" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudVolumeSnapshot" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Cloud Volume Snapshot", + "description": "Updates an existing Cloud Volume Snapshot", + "operationId": "update_cloud_volume_snapshot", + "tags": [ + "Cloud Volume Snapshots" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudVolumeSnapshot" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudVolumeSnapshot" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Cloud Volume Snapshot", + "description": "Deletes an existing Cloud Volume Snapshot", + "operationId": "delete_cloud_volume_snapshot", + "tags": [ + "Cloud Volume Snapshots" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Volume Snapshots", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_volume_snapshots", + "tags": [ + "Cloud Volume Snapshots" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_volume_types": { + "get": { + "summary": "List Cloud Volume Types", + "description": "Returns a paginated list of Cloud Volume Types", + "operationId": "list_cloud_volume_types", + "tags": [ + "Cloud Volume Types" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "cloud_volume_types" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CloudVolumeType" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Volume Types", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_volume_types", + "tags": [ + "Cloud Volume Types" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_volume_types/{c_id}": { + "get": { + "summary": "Get a Cloud Volume Type", + "description": "Returns a single Cloud Volume Type by ID", + "operationId": "get_cloud_volume_type", + "tags": [ + "Cloud Volume Types" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudVolumeType" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Volume Types", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_volume_types", + "tags": [ + "Cloud Volume Types" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_volumes": { + "get": { + "summary": "List Cloud Volumes", + "description": "Returns a paginated list of Cloud Volumes", + "operationId": "list_cloud_volumes", + "tags": [ + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "cloud_volumes" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CloudVolume" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Cloud Volume", + "description": "Creates a new Cloud Volume", + "operationId": "create_cloud_volume", + "tags": [ + "Cloud Volumes" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudVolume" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudVolume" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Volumes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_volumes", + "tags": [ + "Cloud Volumes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_volumes/{c_id}": { + "get": { + "summary": "Get a Cloud Volume", + "description": "Returns a single Cloud Volume by ID", + "operationId": "get_cloud_volume", + "tags": [ + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudVolume" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Cloud Volume", + "description": "Updates an existing Cloud Volume", + "operationId": "update_cloud_volume", + "tags": [ + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudVolume" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudVolume" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Cloud Volume", + "description": "Executes a custom action on a specific Cloud Volume", + "operationId": "action_cloud_volume", + "tags": [ + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/CloudVolume" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudVolume" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Cloud Volume", + "description": "Updates an existing Cloud Volume", + "operationId": "update_cloud_volume", + "tags": [ + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudVolume" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudVolume" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Cloud Volume", + "description": "Deletes an existing Cloud Volume", + "operationId": "delete_cloud_volume", + "tags": [ + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Volumes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_volumes", + "tags": [ + "Cloud Volumes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_volumes/{c_id}/tags": { + "get": { + "summary": "List Tags for Cloud Volume", + "description": "Returns a paginated list of Tags", + "operationId": "list_cloud_volume_tags", + "tags": [ + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_cloud_volume_tag", + "tags": [ + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_volumes/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_cloud_volume_tag", + "tags": [ + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_cloud_volume_tag", + "tags": [ + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_cloud_volume_tag", + "tags": [ + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_volumes/{c_id}/cloud_volume_snapshots": { + "get": { + "summary": "List Cloud Volume Snapshots for Cloud Volume", + "description": "Returns a paginated list of Cloud Volume Snapshots", + "operationId": "list_cloud_volume_cloud_volume_snapshots", + "tags": [ + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "cloud_volume_snapshots" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CloudVolumeSnapshot" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Cloud Volume Snapshot", + "description": "Creates a new Cloud Volume Snapshot", + "operationId": "create_cloud_volume_cloud_volume_snapshot", + "tags": [ + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudVolumeSnapshot" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudVolumeSnapshot" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Volume Snapshots", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_volume_snapshots", + "tags": [ + "Cloud Volume Snapshots" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_volumes/{c_id}/cloud_volume_snapshots/{s_id}": { + "get": { + "summary": "Get a Cloud Volume Snapshot", + "description": "Returns a single Cloud Volume Snapshot by ID", + "operationId": "get_cloud_volume_cloud_volume_snapshot", + "tags": [ + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudVolumeSnapshot" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Cloud Volume Snapshot", + "description": "Updates an existing Cloud Volume Snapshot", + "operationId": "put_cloud_volume_cloud_volume_snapshot", + "tags": [ + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudVolumeSnapshot" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudVolumeSnapshot" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Cloud Volume Snapshot", + "description": "Updates an existing Cloud Volume Snapshot", + "operationId": "update_cloud_volume_cloud_volume_snapshot", + "tags": [ + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudVolumeSnapshot" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudVolumeSnapshot" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Cloud Volume Snapshot", + "description": "Updates an existing Cloud Volume Snapshot", + "operationId": "patch_cloud_volume_cloud_volume_snapshot", + "tags": [ + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudVolumeSnapshot" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudVolumeSnapshot" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Cloud Volume Snapshot", + "description": "Deletes an existing Cloud Volume Snapshot", + "operationId": "delete_cloud_volume_cloud_volume_snapshot", + "tags": [ + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Volume Snapshots", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_volume_snapshots", + "tags": [ + "Cloud Volume Snapshots" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/clusters": { + "get": { + "summary": "List Clusters", + "description": "Returns a paginated list of Clusters", + "operationId": "list_clusters", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "clusters" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/EmsCluster" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Cluster", + "description": "Creates a new Cluster", + "operationId": "create_cluster", + "tags": [ + "Clusters" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/EmsCluster" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/EmsCluster" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Clusters", + "description": "Returns available HTTP methods and actions", + "operationId": "options_clusters", + "tags": [ + "Clusters" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/clusters/{c_id}": { + "get": { + "summary": "Get a Cluster", + "description": "Returns a single Cluster by ID", + "operationId": "get_cluster", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/EmsCluster" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Cluster", + "description": "Executes a custom action on a specific Cluster", + "operationId": "action_cluster", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/EmsCluster" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/EmsCluster" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Clusters", + "description": "Returns available HTTP methods and actions", + "operationId": "options_clusters", + "tags": [ + "Clusters" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/clusters/{c_id}/tags": { + "get": { + "summary": "List Tags for Cluster", + "description": "Returns a paginated list of Tags", + "operationId": "list_cluster_tags", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_cluster_tag", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/clusters/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_cluster_tag", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_cluster_tag", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_cluster_tag", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/clusters/{c_id}/policies": { + "get": { + "summary": "List Policies for Cluster", + "description": "Returns a paginated list of Policies", + "operationId": "list_cluster_policies", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "policies" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqPolicy" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Policy", + "description": "Creates a new Policy", + "operationId": "create_cluster_policy", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicy" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policies", + "tags": [ + "Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/clusters/{c_id}/policies/{s_id}": { + "get": { + "summary": "Get a Policy", + "description": "Returns a single Policy by ID", + "operationId": "get_cluster_policy", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Policy", + "description": "Updates an existing Policy", + "operationId": "update_cluster_policy", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicy" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Policy", + "description": "Deletes an existing Policy", + "operationId": "delete_cluster_policy", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policies", + "tags": [ + "Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/clusters/{c_id}/policy_profiles": { + "get": { + "summary": "List Policy Profiles for Cluster", + "description": "Returns a paginated list of Policy Profiles", + "operationId": "list_cluster_policy_profiles", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "policy_profiles" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqPolicySet" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Policy Profile", + "description": "Creates a new Policy Profile", + "operationId": "create_cluster_policy_profile", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policy Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policy_profiles", + "tags": [ + "Policy Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/clusters/{c_id}/policy_profiles/{s_id}": { + "get": { + "summary": "Get a Policy Profile", + "description": "Returns a single Policy Profile by ID", + "operationId": "get_cluster_policy_profile", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "put_cluster_policy_profile", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "update_cluster_policy_profile", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "patch_cluster_policy_profile", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Policy Profile", + "description": "Deletes an existing Policy Profile", + "operationId": "delete_cluster_policy_profile", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policy Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policy_profiles", + "tags": [ + "Policy Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/conditions": { + "get": { + "summary": "List Conditions", + "description": "Returns a paginated list of Conditions", + "operationId": "list_conditions", + "tags": [ + "Conditions" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "conditions" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Condition" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Condition", + "description": "Creates a new Condition", + "operationId": "create_condition", + "tags": [ + "Conditions" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Condition" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Condition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Conditions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_conditions", + "tags": [ + "Conditions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/conditions/{c_id}": { + "get": { + "summary": "Get a Condition", + "description": "Returns a single Condition by ID", + "operationId": "get_condition", + "tags": [ + "Conditions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Condition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Condition", + "description": "Updates an existing Condition", + "operationId": "update_condition", + "tags": [ + "Conditions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Condition" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Condition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Condition", + "description": "Deletes an existing Condition", + "operationId": "delete_condition", + "tags": [ + "Conditions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Conditions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_conditions", + "tags": [ + "Conditions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/configuration_profiles": { + "get": { + "summary": "List Configuration Profiles", + "description": "Returns a paginated list of Configuration Profiles", + "operationId": "list_configuration_profiles", + "tags": [ + "Configuration Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "configuration_profiles" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ConfigurationProfile" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Configuration Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_configuration_profiles", + "tags": [ + "Configuration Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/configuration_profiles/{c_id}": { + "get": { + "summary": "Get a Configuration Profile", + "description": "Returns a single Configuration Profile by ID", + "operationId": "get_configuration_profile", + "tags": [ + "Configuration Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfigurationProfile" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Configuration Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_configuration_profiles", + "tags": [ + "Configuration Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/configuration_script_payloads": { + "get": { + "summary": "List Configuration Script Payloads", + "description": "Returns a paginated list of Configuration Script Payloads", + "operationId": "list_configuration_script_payloads", + "tags": [ + "Configuration Script Payloads" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "configuration_script_payloads" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ConfigurationScriptPayload" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Configuration Script Payload", + "description": "Creates a new Configuration Script Payload", + "operationId": "create_configuration_script_payload", + "tags": [ + "Configuration Script Payloads" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ConfigurationScriptPayload" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfigurationScriptPayload" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Configuration Script Payloads", + "description": "Returns available HTTP methods and actions", + "operationId": "options_configuration_script_payloads", + "tags": [ + "Configuration Script Payloads" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/configuration_script_payloads/{c_id}": { + "get": { + "summary": "Get a Configuration Script Payload", + "description": "Returns a single Configuration Script Payload by ID", + "operationId": "get_configuration_script_payload", + "tags": [ + "Configuration Script Payloads" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfigurationScriptPayload" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Configuration Script Payload", + "description": "Updates an existing Configuration Script Payload", + "operationId": "update_configuration_script_payload", + "tags": [ + "Configuration Script Payloads" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ConfigurationScriptPayload" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfigurationScriptPayload" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Configuration Script Payload", + "description": "Updates an existing Configuration Script Payload", + "operationId": "update_configuration_script_payload", + "tags": [ + "Configuration Script Payloads" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ConfigurationScriptPayload" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfigurationScriptPayload" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Configuration Script Payload", + "description": "Updates an existing Configuration Script Payload", + "operationId": "update_configuration_script_payload", + "tags": [ + "Configuration Script Payloads" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ConfigurationScriptPayload" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfigurationScriptPayload" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Configuration Script Payloads", + "description": "Returns available HTTP methods and actions", + "operationId": "options_configuration_script_payloads", + "tags": [ + "Configuration Script Payloads" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/configuration_script_payloads/{c_id}/authentications": { + "get": { + "summary": "List Authentications for Configuration Script Payload", + "description": "Returns a paginated list of Authentications", + "operationId": "list_configuration_script_payload_authentications", + "tags": [ + "Configuration Script Payloads" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "authentications" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Authentication" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Authentication", + "description": "Creates a new Authentication", + "operationId": "create_configuration_script_payload_authentication", + "tags": [ + "Configuration Script Payloads" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Authentication" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Authentication" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Authentications", + "description": "Returns available HTTP methods and actions", + "operationId": "options_authentications", + "tags": [ + "Authentications" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/configuration_script_payloads/{c_id}/authentications/{s_id}": { + "get": { + "summary": "Get a Authentication", + "description": "Returns a single Authentication by ID", + "operationId": "get_configuration_script_payload_authentication", + "tags": [ + "Configuration Script Payloads" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Authentication" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Authentication", + "description": "Updates an existing Authentication", + "operationId": "put_configuration_script_payload_authentication", + "tags": [ + "Configuration Script Payloads" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Authentication" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Authentication" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Authentication", + "description": "Updates an existing Authentication", + "operationId": "update_configuration_script_payload_authentication", + "tags": [ + "Configuration Script Payloads" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Authentication" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Authentication" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Authentication", + "description": "Updates an existing Authentication", + "operationId": "patch_configuration_script_payload_authentication", + "tags": [ + "Configuration Script Payloads" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Authentication" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Authentication" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Authentication", + "description": "Deletes an existing Authentication", + "operationId": "delete_configuration_script_payload_authentication", + "tags": [ + "Configuration Script Payloads" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Authentications", + "description": "Returns available HTTP methods and actions", + "operationId": "options_authentications", + "tags": [ + "Authentications" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/configuration_script_sources": { + "get": { + "summary": "List Configuration Script Source", + "description": "Returns a paginated list of Configuration Script Source", + "operationId": "list_configuration_script_sources", + "tags": [ + "Configuration Script Source" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "configuration_script_sources" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ConfigurationScriptSource" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Configuration Script Source", + "description": "Creates a new Configuration Script Source", + "operationId": "create_configuration_script_source", + "tags": [ + "Configuration Script Source" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ConfigurationScriptSource" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfigurationScriptSource" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Configuration Script Source", + "description": "Returns available HTTP methods and actions", + "operationId": "options_configuration_script_sources", + "tags": [ + "Configuration Script Source" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/configuration_script_sources/{c_id}": { + "get": { + "summary": "Get a Configuration Script Source", + "description": "Returns a single Configuration Script Source by ID", + "operationId": "get_configuration_script_source", + "tags": [ + "Configuration Script Source" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfigurationScriptSource" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Configuration Script Source", + "description": "Updates an existing Configuration Script Source", + "operationId": "update_configuration_script_source", + "tags": [ + "Configuration Script Source" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ConfigurationScriptSource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfigurationScriptSource" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Configuration Script Source", + "description": "Updates an existing Configuration Script Source", + "operationId": "update_configuration_script_source", + "tags": [ + "Configuration Script Source" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ConfigurationScriptSource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfigurationScriptSource" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Configuration Script Source", + "description": "Updates an existing Configuration Script Source", + "operationId": "update_configuration_script_source", + "tags": [ + "Configuration Script Source" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ConfigurationScriptSource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfigurationScriptSource" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Configuration Script Source", + "description": "Deletes an existing Configuration Script Source", + "operationId": "delete_configuration_script_source", + "tags": [ + "Configuration Script Source" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Configuration Script Source", + "description": "Returns available HTTP methods and actions", + "operationId": "options_configuration_script_sources", + "tags": [ + "Configuration Script Source" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/configuration_script_sources/{c_id}/configuration_script_payloads": { + "get": { + "summary": "List Configuration Script Payloads for Configuration Script Source", + "description": "Returns a paginated list of Configuration Script Payloads", + "operationId": "list_configuration_script_source_configuration_script_payloads", + "tags": [ + "Configuration Script Source" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "configuration_script_payloads" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ConfigurationScriptPayload" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Configuration Script Payload", + "description": "Creates a new Configuration Script Payload", + "operationId": "create_configuration_script_source_configuration_script_payload", + "tags": [ + "Configuration Script Source" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ConfigurationScriptPayload" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfigurationScriptPayload" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Configuration Script Payloads", + "description": "Returns available HTTP methods and actions", + "operationId": "options_configuration_script_payloads", + "tags": [ + "Configuration Script Payloads" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/configuration_script_sources/{c_id}/configuration_script_payloads/{s_id}": { + "get": { + "summary": "Get a Configuration Script Payload", + "description": "Returns a single Configuration Script Payload by ID", + "operationId": "get_configuration_script_source_configuration_script_payload", + "tags": [ + "Configuration Script Source" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfigurationScriptPayload" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Configuration Script Payload", + "description": "Updates an existing Configuration Script Payload", + "operationId": "put_configuration_script_source_configuration_script_payload", + "tags": [ + "Configuration Script Source" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ConfigurationScriptPayload" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfigurationScriptPayload" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Configuration Script Payload", + "description": "Updates an existing Configuration Script Payload", + "operationId": "update_configuration_script_source_configuration_script_payload", + "tags": [ + "Configuration Script Source" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ConfigurationScriptPayload" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfigurationScriptPayload" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Configuration Script Payload", + "description": "Updates an existing Configuration Script Payload", + "operationId": "patch_configuration_script_source_configuration_script_payload", + "tags": [ + "Configuration Script Source" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ConfigurationScriptPayload" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfigurationScriptPayload" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Configuration Script Payloads", + "description": "Returns available HTTP methods and actions", + "operationId": "options_configuration_script_payloads", + "tags": [ + "Configuration Script Payloads" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/configuration_scripts": { + "get": { + "summary": "List Configuration Scripts", + "description": "Returns a paginated list of Configuration Scripts", + "operationId": "list_configuration_scripts", + "tags": [ + "Configuration Scripts" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "configuration_scripts" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ConfigurationScript" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Configuration Scripts", + "description": "Returns available HTTP methods and actions", + "operationId": "options_configuration_scripts", + "tags": [ + "Configuration Scripts" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/configuration_scripts/{c_id}": { + "get": { + "summary": "Get a Configuration Script", + "description": "Returns a single Configuration Script by ID", + "operationId": "get_configuration_script", + "tags": [ + "Configuration Scripts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfigurationScript" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Configuration Scripts", + "description": "Returns available HTTP methods and actions", + "operationId": "options_configuration_scripts", + "tags": [ + "Configuration Scripts" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/configured_systems": { + "get": { + "summary": "List Configured Systems", + "description": "Returns a paginated list of Configured Systems", + "operationId": "list_configured_systems", + "tags": [ + "Configured Systems" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "configured_systems" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ConfiguredSystem" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Configured Systems", + "description": "Returns available HTTP methods and actions", + "operationId": "options_configured_systems", + "tags": [ + "Configured Systems" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/configured_systems/{c_id}": { + "get": { + "summary": "Get a Configured System", + "description": "Returns a single Configured System by ID", + "operationId": "get_configured_system", + "tags": [ + "Configured Systems" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfiguredSystem" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Configured Systems", + "description": "Returns available HTTP methods and actions", + "operationId": "options_configured_systems", + "tags": [ + "Configured Systems" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/container_groups": { + "get": { + "summary": "List Container Groups", + "description": "Returns a paginated list of Container Groups", + "operationId": "list_container_groups", + "tags": [ + "Container Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "container_groups" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ContainerGroup" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Container Group", + "description": "Creates a new Container Group", + "operationId": "create_container_group", + "tags": [ + "Container Groups" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ContainerGroup" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Container Groups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_container_groups", + "tags": [ + "Container Groups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/container_groups/{c_id}": { + "get": { + "summary": "Get a Container Group", + "description": "Returns a single Container Group by ID", + "operationId": "get_container_group", + "tags": [ + "Container Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Container Group", + "description": "Executes a custom action on a specific Container Group", + "operationId": "action_container_group", + "tags": [ + "Container Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/ContainerGroup" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Container Groups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_container_groups", + "tags": [ + "Container Groups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/container_images": { + "get": { + "summary": "List Container Images", + "description": "Returns a paginated list of Container Images", + "operationId": "list_container_images", + "tags": [ + "Container Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "container_images" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ContainerImage" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Container Image", + "description": "Creates a new Container Image", + "operationId": "create_container_image", + "tags": [ + "Container Images" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ContainerImage" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerImage" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Container Images", + "description": "Returns available HTTP methods and actions", + "operationId": "options_container_images", + "tags": [ + "Container Images" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/container_images/{c_id}": { + "get": { + "summary": "Get a Container Image", + "description": "Returns a single Container Image by ID", + "operationId": "get_container_image", + "tags": [ + "Container Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerImage" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Container Image", + "description": "Executes a custom action on a specific Container Image", + "operationId": "action_container_image", + "tags": [ + "Container Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/ContainerImage" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerImage" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Container Images", + "description": "Returns available HTTP methods and actions", + "operationId": "options_container_images", + "tags": [ + "Container Images" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/container_images/{c_id}/custom_attributes": { + "get": { + "summary": "List Custom Attributes for Container Image", + "description": "Returns a paginated list of Custom Attributes", + "operationId": "list_container_image_custom_attributes", + "tags": [ + "Container Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "custom_attributes" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CustomAttribute" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Custom Attribute", + "description": "Creates a new Custom Attribute", + "operationId": "create_container_image_custom_attribute", + "tags": [ + "Container Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomAttribute" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Attributes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_attributes", + "tags": [ + "Custom Attributes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/container_images/{c_id}/custom_attributes/{s_id}": { + "get": { + "summary": "Get a Custom Attribute", + "description": "Returns a single Custom Attribute by ID", + "operationId": "get_container_image_custom_attribute", + "tags": [ + "Container Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Custom Attribute", + "description": "Updates an existing Custom Attribute", + "operationId": "update_container_image_custom_attribute", + "tags": [ + "Container Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomAttribute" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Custom Attribute", + "description": "Deletes an existing Custom Attribute", + "operationId": "delete_container_image_custom_attribute", + "tags": [ + "Container Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Attributes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_attributes", + "tags": [ + "Custom Attributes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/container_nodes": { + "get": { + "summary": "List Container Nodes", + "description": "Returns a paginated list of Container Nodes", + "operationId": "list_container_nodes", + "tags": [ + "Container Nodes" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "container_nodes" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ContainerNode" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Container Node", + "description": "Creates a new Container Node", + "operationId": "create_container_node", + "tags": [ + "Container Nodes" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ContainerNode" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerNode" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Container Nodes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_container_nodes", + "tags": [ + "Container Nodes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/container_nodes/{c_id}": { + "get": { + "summary": "Get a Container Node", + "description": "Returns a single Container Node by ID", + "operationId": "get_container_node", + "tags": [ + "Container Nodes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerNode" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Container Node", + "description": "Executes a custom action on a specific Container Node", + "operationId": "action_container_node", + "tags": [ + "Container Nodes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/ContainerNode" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerNode" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Container Nodes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_container_nodes", + "tags": [ + "Container Nodes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/container_projects": { + "get": { + "summary": "List Container Projects", + "description": "Returns a paginated list of Container Projects", + "operationId": "list_container_projects", + "tags": [ + "Container Projects" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "container_projects" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ContainerProject" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Container Project", + "description": "Creates a new Container Project", + "operationId": "create_container_project", + "tags": [ + "Container Projects" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ContainerProject" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerProject" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Container Projects", + "description": "Returns available HTTP methods and actions", + "operationId": "options_container_projects", + "tags": [ + "Container Projects" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/container_projects/{c_id}": { + "get": { + "summary": "Get a Container Project", + "description": "Returns a single Container Project by ID", + "operationId": "get_container_project", + "tags": [ + "Container Projects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerProject" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Container Project", + "description": "Updates an existing Container Project", + "operationId": "update_container_project", + "tags": [ + "Container Projects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ContainerProject" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerProject" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Container Project", + "description": "Executes a custom action on a specific Container Project", + "operationId": "action_container_project", + "tags": [ + "Container Projects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/ContainerProject" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerProject" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Container Project", + "description": "Updates an existing Container Project", + "operationId": "update_container_project", + "tags": [ + "Container Projects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ContainerProject" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerProject" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Container Project", + "description": "Deletes an existing Container Project", + "operationId": "delete_container_project", + "tags": [ + "Container Projects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Container Projects", + "description": "Returns available HTTP methods and actions", + "operationId": "options_container_projects", + "tags": [ + "Container Projects" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/container_projects/{c_id}/tags": { + "get": { + "summary": "List Tags for Container Project", + "description": "Returns a paginated list of Tags", + "operationId": "list_container_project_tags", + "tags": [ + "Container Projects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_container_project_tag", + "tags": [ + "Container Projects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/container_projects/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_container_project_tag", + "tags": [ + "Container Projects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_container_project_tag", + "tags": [ + "Container Projects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_container_project_tag", + "tags": [ + "Container Projects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/container_projects/{c_id}/custom_attributes": { + "get": { + "summary": "List Custom Attributes for Container Project", + "description": "Returns a paginated list of Custom Attributes", + "operationId": "list_container_project_custom_attributes", + "tags": [ + "Container Projects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "custom_attributes" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CustomAttribute" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Custom Attribute", + "description": "Creates a new Custom Attribute", + "operationId": "create_container_project_custom_attribute", + "tags": [ + "Container Projects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomAttribute" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Attributes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_attributes", + "tags": [ + "Custom Attributes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/container_projects/{c_id}/custom_attributes/{s_id}": { + "get": { + "summary": "Get a Custom Attribute", + "description": "Returns a single Custom Attribute by ID", + "operationId": "get_container_project_custom_attribute", + "tags": [ + "Container Projects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Custom Attribute", + "description": "Updates an existing Custom Attribute", + "operationId": "update_container_project_custom_attribute", + "tags": [ + "Container Projects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomAttribute" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Custom Attribute", + "description": "Deletes an existing Custom Attribute", + "operationId": "delete_container_project_custom_attribute", + "tags": [ + "Container Projects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Attributes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_attributes", + "tags": [ + "Custom Attributes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/container_templates": { + "get": { + "summary": "List Container Templates", + "description": "Returns a paginated list of Container Templates", + "operationId": "list_container_templates", + "tags": [ + "Container Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "container_templates" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ContainerTemplate" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Container Template", + "description": "Creates a new Container Template", + "operationId": "create_container_template", + "tags": [ + "Container Templates" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ContainerTemplate" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Container Templates", + "description": "Returns available HTTP methods and actions", + "operationId": "options_container_templates", + "tags": [ + "Container Templates" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/container_templates/{c_id}": { + "get": { + "summary": "Get a Container Template", + "description": "Returns a single Container Template by ID", + "operationId": "get_container_template", + "tags": [ + "Container Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Container Template", + "description": "Executes a custom action on a specific Container Template", + "operationId": "action_container_template", + "tags": [ + "Container Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/ContainerTemplate" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Container Templates", + "description": "Returns available HTTP methods and actions", + "operationId": "options_container_templates", + "tags": [ + "Container Templates" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/container_volumes": { + "get": { + "summary": "List Container Volumes", + "description": "Returns a paginated list of Container Volumes", + "operationId": "list_container_volumes", + "tags": [ + "Container Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "container_volumes" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ContainerVolume" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Container Volume", + "description": "Creates a new Container Volume", + "operationId": "create_container_volume", + "tags": [ + "Container Volumes" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ContainerVolume" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerVolume" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Container Volumes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_container_volumes", + "tags": [ + "Container Volumes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/container_volumes/{c_id}": { + "get": { + "summary": "Get a Container Volume", + "description": "Returns a single Container Volume by ID", + "operationId": "get_container_volume", + "tags": [ + "Container Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerVolume" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Container Volume", + "description": "Executes a custom action on a specific Container Volume", + "operationId": "action_container_volume", + "tags": [ + "Container Volumes" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/ContainerVolume" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ContainerVolume" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Container Volumes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_container_volumes", + "tags": [ + "Container Volumes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/containers": { + "get": { + "summary": "List Containers", + "description": "Returns a paginated list of Containers", + "operationId": "list_containers", + "tags": [ + "Containers" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "containers" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Container" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Container", + "description": "Creates a new Container", + "operationId": "create_container", + "tags": [ + "Containers" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Container" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Container" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Containers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_containers", + "tags": [ + "Containers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/containers/{c_id}": { + "get": { + "summary": "Get a Container", + "description": "Returns a single Container by ID", + "operationId": "get_container", + "tags": [ + "Containers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Container" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Container", + "description": "Updates an existing Container", + "operationId": "update_container", + "tags": [ + "Containers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Container" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Container" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Containers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_containers", + "tags": [ + "Containers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/currencies": { + "get": { + "summary": "List Currencies", + "description": "Returns a paginated list of Currencies", + "operationId": "list_currencies", + "tags": [ + "Currencies" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "currencies" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Currency" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Currencies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_currencies", + "tags": [ + "Currencies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/currencies/{c_id}": { + "get": { + "summary": "Get a Currency", + "description": "Returns a single Currency by ID", + "operationId": "get_currency", + "tags": [ + "Currencies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Currency" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Currencies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_currencies", + "tags": [ + "Currencies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/custom_button_sets": { + "get": { + "summary": "List Custom Button Sets", + "description": "Returns a paginated list of Custom Button Sets", + "operationId": "list_custom_button_sets", + "tags": [ + "Custom Button Sets" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "custom_button_sets" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CustomButtonSet" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Custom Button Set", + "description": "Creates a new Custom Button Set", + "operationId": "create_custom_button_set", + "tags": [ + "Custom Button Sets" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomButtonSet" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomButtonSet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Button Sets", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_button_sets", + "tags": [ + "Custom Button Sets" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/custom_button_sets/{c_id}": { + "get": { + "summary": "Get a Custom Button Set", + "description": "Returns a single Custom Button Set by ID", + "operationId": "get_custom_button_set", + "tags": [ + "Custom Button Sets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomButtonSet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Custom Button Set", + "description": "Updates an existing Custom Button Set", + "operationId": "update_custom_button_set", + "tags": [ + "Custom Button Sets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomButtonSet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomButtonSet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Custom Button Set", + "description": "Updates an existing Custom Button Set", + "operationId": "update_custom_button_set", + "tags": [ + "Custom Button Sets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomButtonSet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomButtonSet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Custom Button Set", + "description": "Updates an existing Custom Button Set", + "operationId": "update_custom_button_set", + "tags": [ + "Custom Button Sets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomButtonSet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomButtonSet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Custom Button Set", + "description": "Deletes an existing Custom Button Set", + "operationId": "delete_custom_button_set", + "tags": [ + "Custom Button Sets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Button Sets", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_button_sets", + "tags": [ + "Custom Button Sets" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/custom_buttons": { + "get": { + "summary": "List Custom Buttons", + "description": "Returns a paginated list of Custom Buttons", + "operationId": "list_custom_buttons", + "tags": [ + "Custom Buttons" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "custom_buttons" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CustomButton" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Custom Button", + "description": "Creates a new Custom Button", + "operationId": "create_custom_button", + "tags": [ + "Custom Buttons" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomButton" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomButton" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Buttons", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_buttons", + "tags": [ + "Custom Buttons" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/custom_buttons/{c_id}": { + "get": { + "summary": "Get a Custom Button", + "description": "Returns a single Custom Button by ID", + "operationId": "get_custom_button", + "tags": [ + "Custom Buttons" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomButton" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Custom Button", + "description": "Updates an existing Custom Button", + "operationId": "update_custom_button", + "tags": [ + "Custom Buttons" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomButton" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomButton" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Custom Button", + "description": "Updates an existing Custom Button", + "operationId": "update_custom_button", + "tags": [ + "Custom Buttons" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomButton" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomButton" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Custom Button", + "description": "Updates an existing Custom Button", + "operationId": "update_custom_button", + "tags": [ + "Custom Buttons" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomButton" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomButton" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Custom Button", + "description": "Deletes an existing Custom Button", + "operationId": "delete_custom_button", + "tags": [ + "Custom Buttons" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Buttons", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_buttons", + "tags": [ + "Custom Buttons" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/customization_scripts": { + "get": { + "summary": "List Customization Script", + "description": "Returns a paginated list of Customization Script", + "operationId": "list_customization_scripts", + "tags": [ + "Customization Script" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "customization_scripts" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CustomizationScript" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Customization Script", + "description": "Creates a new Customization Script", + "operationId": "create_customization_script", + "tags": [ + "Customization Script" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomizationScript" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomizationScript" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Customization Script", + "description": "Returns available HTTP methods and actions", + "operationId": "options_customization_scripts", + "tags": [ + "Customization Script" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/customization_scripts/{c_id}": { + "get": { + "summary": "Get a Customization Script", + "description": "Returns a single Customization Script by ID", + "operationId": "get_customization_script", + "tags": [ + "Customization Script" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomizationScript" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Customization Script", + "description": "Updates an existing Customization Script", + "operationId": "update_customization_script", + "tags": [ + "Customization Script" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomizationScript" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomizationScript" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Customization Script", + "description": "Returns available HTTP methods and actions", + "operationId": "options_customization_scripts", + "tags": [ + "Customization Script" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/customization_templates": { + "get": { + "summary": "List Customization Template", + "description": "Returns a paginated list of Customization Template", + "operationId": "list_customization_templates", + "tags": [ + "Customization Template" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "customization_templates" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CustomizationTemplate" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Customization Template", + "description": "Creates a new Customization Template", + "operationId": "create_customization_template", + "tags": [ + "Customization Template" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomizationTemplate" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomizationTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Customization Template", + "description": "Returns available HTTP methods and actions", + "operationId": "options_customization_templates", + "tags": [ + "Customization Template" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/customization_templates/{c_id}": { + "get": { + "summary": "Get a Customization Template", + "description": "Returns a single Customization Template by ID", + "operationId": "get_customization_template", + "tags": [ + "Customization Template" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomizationTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Customization Template", + "description": "Updates an existing Customization Template", + "operationId": "update_customization_template", + "tags": [ + "Customization Template" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomizationTemplate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomizationTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Customization Template", + "description": "Updates an existing Customization Template", + "operationId": "update_customization_template", + "tags": [ + "Customization Template" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomizationTemplate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomizationTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Customization Template", + "description": "Updates an existing Customization Template", + "operationId": "update_customization_template", + "tags": [ + "Customization Template" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomizationTemplate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomizationTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Customization Template", + "description": "Deletes an existing Customization Template", + "operationId": "delete_customization_template", + "tags": [ + "Customization Template" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Customization Template", + "description": "Returns available HTTP methods and actions", + "operationId": "options_customization_templates", + "tags": [ + "Customization Template" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/data_stores": { + "get": { + "summary": "List Datastores", + "description": "Returns a paginated list of Datastores", + "operationId": "list_data_stores", + "tags": [ + "Datastores" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "data_stores" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Storage" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Datastore", + "description": "Creates a new Datastore", + "operationId": "create_data_store", + "tags": [ + "Datastores" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Storage" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Storage" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Datastores", + "description": "Returns available HTTP methods and actions", + "operationId": "options_data_stores", + "tags": [ + "Datastores" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/data_stores/{c_id}": { + "get": { + "summary": "Get a Datastore", + "description": "Returns a single Datastore by ID", + "operationId": "get_data_store", + "tags": [ + "Datastores" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Storage" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Datastore", + "description": "Executes a custom action on a specific Datastore", + "operationId": "action_data_store", + "tags": [ + "Datastores" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/Storage" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Storage" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Datastore", + "description": "Deletes an existing Datastore", + "operationId": "delete_data_store", + "tags": [ + "Datastores" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Datastores", + "description": "Returns available HTTP methods and actions", + "operationId": "options_data_stores", + "tags": [ + "Datastores" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/data_stores/{c_id}/tags": { + "get": { + "summary": "List Tags for Datastore", + "description": "Returns a paginated list of Tags", + "operationId": "list_data_store_tags", + "tags": [ + "Datastores" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_data_store_tag", + "tags": [ + "Datastores" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/data_stores/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_data_store_tag", + "tags": [ + "Datastores" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_data_store_tag", + "tags": [ + "Datastores" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_data_store_tag", + "tags": [ + "Datastores" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/enterprises": { + "get": { + "summary": "List Enterprises", + "description": "Returns a paginated list of Enterprises", + "operationId": "list_enterprises", + "tags": [ + "Enterprises" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "enterprises" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqEnterprise" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Enterprises", + "description": "Returns available HTTP methods and actions", + "operationId": "options_enterprises", + "tags": [ + "Enterprises" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/enterprises/{c_id}": { + "get": { + "summary": "Get a Enterprise", + "description": "Returns a single Enterprise by ID", + "operationId": "get_enterprise", + "tags": [ + "Enterprises" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqEnterprise" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Enterprises", + "description": "Returns available HTTP methods and actions", + "operationId": "options_enterprises", + "tags": [ + "Enterprises" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/event_definition_sets": { + "get": { + "summary": "List Event Definition Sets", + "description": "Returns a paginated list of Event Definition Sets", + "operationId": "list_event_definition_sets", + "tags": [ + "Event Definition Sets" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "event_definition_sets" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqEventDefinitionSet" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Event Definition Set", + "description": "Creates a new Event Definition Set", + "operationId": "create_event_definition_set", + "tags": [ + "Event Definition Sets" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqEventDefinitionSet" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqEventDefinitionSet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Event Definition Sets", + "description": "Returns available HTTP methods and actions", + "operationId": "options_event_definition_sets", + "tags": [ + "Event Definition Sets" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/event_definition_sets/{c_id}": { + "get": { + "summary": "Get a Event Definition Set", + "description": "Returns a single Event Definition Set by ID", + "operationId": "get_event_definition_set", + "tags": [ + "Event Definition Sets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqEventDefinitionSet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Event Definition Set", + "description": "Updates an existing Event Definition Set", + "operationId": "update_event_definition_set", + "tags": [ + "Event Definition Sets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqEventDefinitionSet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqEventDefinitionSet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Event Definition Sets", + "description": "Returns available HTTP methods and actions", + "operationId": "options_event_definition_sets", + "tags": [ + "Event Definition Sets" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/event_definition_sets/{c_id}/events": { + "get": { + "summary": "List Events for Event Definition Set", + "description": "Returns a paginated list of Events", + "operationId": "list_event_definition_set_events", + "tags": [ + "Event Definition Sets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "events" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqEventDefinition" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Event", + "description": "Creates a new Event", + "operationId": "create_event_definition_set_event", + "tags": [ + "Event Definition Sets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqEventDefinition" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqEventDefinition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Events", + "description": "Returns available HTTP methods and actions", + "operationId": "options_events", + "tags": [ + "Events" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/event_definition_sets/{c_id}/events/{s_id}": { + "get": { + "summary": "Get a Event", + "description": "Returns a single Event by ID", + "operationId": "get_event_definition_set_event", + "tags": [ + "Event Definition Sets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqEventDefinition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Event", + "description": "Updates an existing Event", + "operationId": "update_event_definition_set_event", + "tags": [ + "Event Definition Sets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqEventDefinition" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqEventDefinition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Events", + "description": "Returns available HTTP methods and actions", + "operationId": "options_events", + "tags": [ + "Events" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/event_streams": { + "get": { + "summary": "List Event Streams", + "description": "Returns a paginated list of Event Streams", + "operationId": "list_event_streams", + "tags": [ + "Event Streams" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "event_streams" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/EventStream" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Event Stream", + "description": "Creates a new Event Stream", + "operationId": "create_event_stream", + "tags": [ + "Event Streams" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/EventStream" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/EventStream" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Event Streams", + "description": "Returns available HTTP methods and actions", + "operationId": "options_event_streams", + "tags": [ + "Event Streams" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/event_streams/{c_id}": { + "get": { + "summary": "Get a Event Stream", + "description": "Returns a single Event Stream by ID", + "operationId": "get_event_stream", + "tags": [ + "Event Streams" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/EventStream" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Event Stream", + "description": "Updates an existing Event Stream", + "operationId": "update_event_stream", + "tags": [ + "Event Streams" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/EventStream" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/EventStream" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Event Streams", + "description": "Returns available HTTP methods and actions", + "operationId": "options_event_streams", + "tags": [ + "Event Streams" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/events": { + "get": { + "summary": "List Events", + "description": "Returns a paginated list of Events", + "operationId": "list_events", + "tags": [ + "Events" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "events" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqEventDefinition" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Event", + "description": "Creates a new Event", + "operationId": "create_event", + "tags": [ + "Events" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqEventDefinition" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqEventDefinition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Events", + "description": "Returns available HTTP methods and actions", + "operationId": "options_events", + "tags": [ + "Events" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/events/{c_id}": { + "get": { + "summary": "Get a Event", + "description": "Returns a single Event by ID", + "operationId": "get_event", + "tags": [ + "Events" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqEventDefinition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Event", + "description": "Updates an existing Event", + "operationId": "update_event", + "tags": [ + "Events" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqEventDefinition" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqEventDefinition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Events", + "description": "Returns available HTTP methods and actions", + "operationId": "options_events", + "tags": [ + "Events" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/features": { + "get": { + "summary": "List Product Features", + "description": "Returns a paginated list of Product Features", + "operationId": "list_features", + "tags": [ + "Product Features" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "features" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqProductFeature" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Product Feature", + "description": "Creates a new Product Feature", + "operationId": "create_feature", + "tags": [ + "Product Features" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqProductFeature" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqProductFeature" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Product Features", + "description": "Returns available HTTP methods and actions", + "operationId": "options_features", + "tags": [ + "Product Features" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/features/{c_id}": { + "get": { + "summary": "Get a Product Feature", + "description": "Returns a single Product Feature by ID", + "operationId": "get_feature", + "tags": [ + "Product Features" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqProductFeature" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Product Feature", + "description": "Updates an existing Product Feature", + "operationId": "update_feature", + "tags": [ + "Product Features" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqProductFeature" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqProductFeature" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Product Features", + "description": "Returns available HTTP methods and actions", + "operationId": "options_features", + "tags": [ + "Product Features" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/firmware_registries": { + "get": { + "summary": "List Firmware Registries", + "description": "Returns a paginated list of Firmware Registries", + "operationId": "list_firmware_registries", + "tags": [ + "Firmware Registries" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "firmware_registries" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/FirmwareRegistry" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Firmware Registry", + "description": "Creates a new Firmware Registry", + "operationId": "create_firmware_registry", + "tags": [ + "Firmware Registries" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/FirmwareRegistry" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/FirmwareRegistry" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Firmware Registries", + "description": "Returns available HTTP methods and actions", + "operationId": "options_firmware_registries", + "tags": [ + "Firmware Registries" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/firmware_registries/{c_id}": { + "get": { + "summary": "Get a Firmware Registry", + "description": "Returns a single Firmware Registry by ID", + "operationId": "get_firmware_registry", + "tags": [ + "Firmware Registries" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/FirmwareRegistry" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Firmware Registry", + "description": "Updates an existing Firmware Registry", + "operationId": "update_firmware_registry", + "tags": [ + "Firmware Registries" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/FirmwareRegistry" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/FirmwareRegistry" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Firmware Registry", + "description": "Deletes an existing Firmware Registry", + "operationId": "delete_firmware_registry", + "tags": [ + "Firmware Registries" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Firmware Registries", + "description": "Returns available HTTP methods and actions", + "operationId": "options_firmware_registries", + "tags": [ + "Firmware Registries" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/firmwares": { + "get": { + "summary": "List Firmwares", + "description": "Returns a paginated list of Firmwares", + "operationId": "list_firmwares", + "tags": [ + "Firmwares" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "firmwares" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Firmware" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Firmware", + "description": "Creates a new Firmware", + "operationId": "create_firmware", + "tags": [ + "Firmwares" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Firmware" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Firmware" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Firmwares", + "description": "Returns available HTTP methods and actions", + "operationId": "options_firmwares", + "tags": [ + "Firmwares" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/firmwares/{c_id}": { + "get": { + "summary": "Get a Firmware", + "description": "Returns a single Firmware by ID", + "operationId": "get_firmware", + "tags": [ + "Firmwares" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Firmware" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Firmware", + "description": "Updates an existing Firmware", + "operationId": "update_firmware", + "tags": [ + "Firmwares" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Firmware" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Firmware" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Firmwares", + "description": "Returns available HTTP methods and actions", + "operationId": "options_firmwares", + "tags": [ + "Firmwares" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/flavors": { + "get": { + "summary": "List Flavors", + "description": "Returns a paginated list of Flavors", + "operationId": "list_flavors", + "tags": [ + "Flavors" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "flavors" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Flavor" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Flavor", + "description": "Creates a new Flavor", + "operationId": "create_flavor", + "tags": [ + "Flavors" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Flavor" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Flavor" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Flavors", + "description": "Returns available HTTP methods and actions", + "operationId": "options_flavors", + "tags": [ + "Flavors" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/flavors/{c_id}": { + "get": { + "summary": "Get a Flavor", + "description": "Returns a single Flavor by ID", + "operationId": "get_flavor", + "tags": [ + "Flavors" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Flavor" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Flavor", + "description": "Updates an existing Flavor", + "operationId": "update_flavor", + "tags": [ + "Flavors" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Flavor" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Flavor" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Flavor", + "description": "Deletes an existing Flavor", + "operationId": "delete_flavor", + "tags": [ + "Flavors" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Flavors", + "description": "Returns available HTTP methods and actions", + "operationId": "options_flavors", + "tags": [ + "Flavors" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/flavors/{c_id}/tags": { + "get": { + "summary": "List Tags for Flavor", + "description": "Returns a paginated list of Tags", + "operationId": "list_flavor_tags", + "tags": [ + "Flavors" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_flavor_tag", + "tags": [ + "Flavors" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/flavors/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_flavor_tag", + "tags": [ + "Flavors" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_flavor_tag", + "tags": [ + "Flavors" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_flavor_tag", + "tags": [ + "Flavors" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/floating_ips": { + "get": { + "summary": "List Floating IPs", + "description": "Returns a paginated list of Floating IPs", + "operationId": "list_floating_ips", + "tags": [ + "Floating IPs" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "floating_ips" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/FloatingIp" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Floating IP", + "description": "Creates a new Floating IP", + "operationId": "create_floating_ip", + "tags": [ + "Floating IPs" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/FloatingIp" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/FloatingIp" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Floating IPs", + "description": "Returns available HTTP methods and actions", + "operationId": "options_floating_ips", + "tags": [ + "Floating IPs" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/floating_ips/{c_id}": { + "get": { + "summary": "Get a Floating IP", + "description": "Returns a single Floating IP by ID", + "operationId": "get_floating_ip", + "tags": [ + "Floating IPs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/FloatingIp" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Floating IP", + "description": "Updates an existing Floating IP", + "operationId": "update_floating_ip", + "tags": [ + "Floating IPs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/FloatingIp" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/FloatingIp" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Floating IP", + "description": "Updates an existing Floating IP", + "operationId": "update_floating_ip", + "tags": [ + "Floating IPs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/FloatingIp" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/FloatingIp" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Floating IP", + "description": "Updates an existing Floating IP", + "operationId": "update_floating_ip", + "tags": [ + "Floating IPs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/FloatingIp" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/FloatingIp" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Floating IP", + "description": "Deletes an existing Floating IP", + "operationId": "delete_floating_ip", + "tags": [ + "Floating IPs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Floating IPs", + "description": "Returns available HTTP methods and actions", + "operationId": "options_floating_ips", + "tags": [ + "Floating IPs" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/generic_object_definitions": { + "get": { + "summary": "List Generic Object Definitions", + "description": "Returns a paginated list of Generic Object Definitions", + "operationId": "list_generic_object_definitions", + "tags": [ + "Generic Object Definitions" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "generic_object_definitions" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/GenericObjectDefinition" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Generic Object Definition", + "description": "Creates a new Generic Object Definition", + "operationId": "create_generic_object_definition", + "tags": [ + "Generic Object Definitions" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/GenericObjectDefinition" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/GenericObjectDefinition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Generic Object Definitions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_generic_object_definitions", + "tags": [ + "Generic Object Definitions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/generic_object_definitions/{c_id}": { + "get": { + "summary": "Get a Generic Object Definition", + "description": "Returns a single Generic Object Definition by ID", + "operationId": "get_generic_object_definition", + "tags": [ + "Generic Object Definitions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/GenericObjectDefinition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Generic Object Definition", + "description": "Updates an existing Generic Object Definition", + "operationId": "update_generic_object_definition", + "tags": [ + "Generic Object Definitions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/GenericObjectDefinition" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/GenericObjectDefinition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Generic Object Definition", + "description": "Updates an existing Generic Object Definition", + "operationId": "update_generic_object_definition", + "tags": [ + "Generic Object Definitions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/GenericObjectDefinition" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/GenericObjectDefinition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Generic Object Definition", + "description": "Updates an existing Generic Object Definition", + "operationId": "update_generic_object_definition", + "tags": [ + "Generic Object Definitions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/GenericObjectDefinition" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/GenericObjectDefinition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Generic Object Definition", + "description": "Deletes an existing Generic Object Definition", + "operationId": "delete_generic_object_definition", + "tags": [ + "Generic Object Definitions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Generic Object Definitions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_generic_object_definitions", + "tags": [ + "Generic Object Definitions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/generic_object_definitions/{c_id}/generic_objects": { + "get": { + "summary": "List Generic Objects for Generic Object Definition", + "description": "Returns a paginated list of Generic Objects", + "operationId": "list_generic_object_definition_generic_objects", + "tags": [ + "Generic Object Definitions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "generic_objects" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/GenericObject" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Generic Object", + "description": "Creates a new Generic Object", + "operationId": "create_generic_object_definition_generic_object", + "tags": [ + "Generic Object Definitions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/GenericObject" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/GenericObject" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Generic Objects", + "description": "Returns available HTTP methods and actions", + "operationId": "options_generic_objects", + "tags": [ + "Generic Objects" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/generic_object_definitions/{c_id}/generic_objects/{s_id}": { + "get": { + "summary": "Get a Generic Object", + "description": "Returns a single Generic Object by ID", + "operationId": "get_generic_object_definition_generic_object", + "tags": [ + "Generic Object Definitions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/GenericObject" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Generic Object", + "description": "Updates an existing Generic Object", + "operationId": "update_generic_object_definition_generic_object", + "tags": [ + "Generic Object Definitions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/GenericObject" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/GenericObject" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Generic Object", + "description": "Deletes an existing Generic Object", + "operationId": "delete_generic_object_definition_generic_object", + "tags": [ + "Generic Object Definitions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Generic Objects", + "description": "Returns available HTTP methods and actions", + "operationId": "options_generic_objects", + "tags": [ + "Generic Objects" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/generic_objects": { + "get": { + "summary": "List Generic Objects", + "description": "Returns a paginated list of Generic Objects", + "operationId": "list_generic_objects", + "tags": [ + "Generic Objects" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "generic_objects" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/GenericObject" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Generic Object", + "description": "Creates a new Generic Object", + "operationId": "create_generic_object", + "tags": [ + "Generic Objects" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/GenericObject" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/GenericObject" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Generic Objects", + "description": "Returns available HTTP methods and actions", + "operationId": "options_generic_objects", + "tags": [ + "Generic Objects" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/generic_objects/{c_id}": { + "get": { + "summary": "Get a Generic Object", + "description": "Returns a single Generic Object by ID", + "operationId": "get_generic_object", + "tags": [ + "Generic Objects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/GenericObject" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Generic Object", + "description": "Executes a custom action on a specific Generic Object", + "operationId": "action_generic_object", + "tags": [ + "Generic Objects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/GenericObject" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/GenericObject" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Generic Object", + "description": "Deletes an existing Generic Object", + "operationId": "delete_generic_object", + "tags": [ + "Generic Objects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Generic Objects", + "description": "Returns available HTTP methods and actions", + "operationId": "options_generic_objects", + "tags": [ + "Generic Objects" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/generic_objects/{c_id}/tags": { + "get": { + "summary": "List Tags for Generic Object", + "description": "Returns a paginated list of Tags", + "operationId": "list_generic_object_tags", + "tags": [ + "Generic Objects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_generic_object_tag", + "tags": [ + "Generic Objects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/generic_objects/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_generic_object_tag", + "tags": [ + "Generic Objects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_generic_object_tag", + "tags": [ + "Generic Objects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_generic_object_tag", + "tags": [ + "Generic Objects" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/groups": { + "get": { + "summary": "List Groups", + "description": "Returns a paginated list of Groups", + "operationId": "list_groups", + "tags": [ + "Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "groups" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqGroup" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Group", + "description": "Creates a new Group", + "operationId": "create_group", + "tags": [ + "Groups" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqGroup" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Groups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_groups", + "tags": [ + "Groups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/groups/{c_id}": { + "get": { + "summary": "Get a Group", + "description": "Returns a single Group by ID", + "operationId": "get_group", + "tags": [ + "Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Group", + "description": "Updates an existing Group", + "operationId": "update_group", + "tags": [ + "Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqGroup" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Group", + "description": "Executes a custom action on a specific Group", + "operationId": "action_group", + "tags": [ + "Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/MiqGroup" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Group", + "description": "Updates an existing Group", + "operationId": "update_group", + "tags": [ + "Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqGroup" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Group", + "description": "Deletes an existing Group", + "operationId": "delete_group", + "tags": [ + "Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Groups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_groups", + "tags": [ + "Groups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/groups/{c_id}/custom_button_events": { + "get": { + "summary": "List Custom Button Events for Group", + "description": "Returns a paginated list of Custom Button Events", + "operationId": "list_group_custom_button_events", + "tags": [ + "Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "custom_button_events" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CustomButtonEvent" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Button Events", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_button_events", + "tags": [ + "Custom Button Events" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/groups/{c_id}/custom_button_events/{s_id}": { + "get": { + "summary": "Get a Custom Button Event", + "description": "Returns a single Custom Button Event by ID", + "operationId": "get_group_custom_button_event", + "tags": [ + "Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomButtonEvent" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Button Events", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_button_events", + "tags": [ + "Custom Button Events" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/groups/{c_id}/tags": { + "get": { + "summary": "List Tags for Group", + "description": "Returns a paginated list of Tags", + "operationId": "list_group_tags", + "tags": [ + "Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_group_tag", + "tags": [ + "Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/groups/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_group_tag", + "tags": [ + "Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_group_tag", + "tags": [ + "Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_group_tag", + "tags": [ + "Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/guest_devices": { + "get": { + "summary": "List Guest Devices", + "description": "Returns a paginated list of Guest Devices", + "operationId": "list_guest_devices", + "tags": [ + "Guest Devices" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "guest_devices" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/GuestDevice" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Guest Device", + "description": "Creates a new Guest Device", + "operationId": "create_guest_device", + "tags": [ + "Guest Devices" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/GuestDevice" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/GuestDevice" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Guest Devices", + "description": "Returns available HTTP methods and actions", + "operationId": "options_guest_devices", + "tags": [ + "Guest Devices" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/guest_devices/{c_id}": { + "get": { + "summary": "Get a Guest Device", + "description": "Returns a single Guest Device by ID", + "operationId": "get_guest_device", + "tags": [ + "Guest Devices" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/GuestDevice" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Guest Device", + "description": "Updates an existing Guest Device", + "operationId": "update_guest_device", + "tags": [ + "Guest Devices" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/GuestDevice" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/GuestDevice" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Guest Devices", + "description": "Returns available HTTP methods and actions", + "operationId": "options_guest_devices", + "tags": [ + "Guest Devices" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/host_aggregates": { + "get": { + "summary": "List Host Aggregates", + "description": "Returns a paginated list of Host Aggregates", + "operationId": "list_host_aggregates", + "tags": [ + "Host Aggregates" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "host_aggregates" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/HostAggregate" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Host Aggregate", + "description": "Creates a new Host Aggregate", + "operationId": "create_host_aggregate", + "tags": [ + "Host Aggregates" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/HostAggregate" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/HostAggregate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Host Aggregates", + "description": "Returns available HTTP methods and actions", + "operationId": "options_host_aggregates", + "tags": [ + "Host Aggregates" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/host_aggregates/{c_id}": { + "get": { + "summary": "Get a Host Aggregate", + "description": "Returns a single Host Aggregate by ID", + "operationId": "get_host_aggregate", + "tags": [ + "Host Aggregates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/HostAggregate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Host Aggregate", + "description": "Updates an existing Host Aggregate", + "operationId": "update_host_aggregate", + "tags": [ + "Host Aggregates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/HostAggregate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/HostAggregate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Host Aggregate", + "description": "Updates an existing Host Aggregate", + "operationId": "update_host_aggregate", + "tags": [ + "Host Aggregates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/HostAggregate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/HostAggregate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Host Aggregate", + "description": "Updates an existing Host Aggregate", + "operationId": "update_host_aggregate", + "tags": [ + "Host Aggregates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/HostAggregate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/HostAggregate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Host Aggregate", + "description": "Deletes an existing Host Aggregate", + "operationId": "delete_host_aggregate", + "tags": [ + "Host Aggregates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Host Aggregates", + "description": "Returns available HTTP methods and actions", + "operationId": "options_host_aggregates", + "tags": [ + "Host Aggregates" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/host_aggregates/{c_id}/tags": { + "get": { + "summary": "List Tags for Host Aggregate", + "description": "Returns a paginated list of Tags", + "operationId": "list_host_aggregate_tags", + "tags": [ + "Host Aggregates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_host_aggregate_tag", + "tags": [ + "Host Aggregates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/host_aggregates/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_host_aggregate_tag", + "tags": [ + "Host Aggregates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_host_aggregate_tag", + "tags": [ + "Host Aggregates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_host_aggregate_tag", + "tags": [ + "Host Aggregates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/host_initiator_groups": { + "get": { + "summary": "List Host Initiator Groups", + "description": "Returns a paginated list of Host Initiator Groups", + "operationId": "list_host_initiator_groups", + "tags": [ + "Host Initiator Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "host_initiator_groups" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/HostInitiatorGroup" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Host Initiator Group", + "description": "Creates a new Host Initiator Group", + "operationId": "create_host_initiator_group", + "tags": [ + "Host Initiator Groups" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/HostInitiatorGroup" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/HostInitiatorGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Host Initiator Groups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_host_initiator_groups", + "tags": [ + "Host Initiator Groups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/host_initiator_groups/{c_id}": { + "get": { + "summary": "Get a Host Initiator Group", + "description": "Returns a single Host Initiator Group by ID", + "operationId": "get_host_initiator_group", + "tags": [ + "Host Initiator Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/HostInitiatorGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Host Initiator Group", + "description": "Updates an existing Host Initiator Group", + "operationId": "update_host_initiator_group", + "tags": [ + "Host Initiator Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/HostInitiatorGroup" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/HostInitiatorGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Host Initiator Group", + "description": "Updates an existing Host Initiator Group", + "operationId": "update_host_initiator_group", + "tags": [ + "Host Initiator Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/HostInitiatorGroup" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/HostInitiatorGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Host Initiator Group", + "description": "Updates an existing Host Initiator Group", + "operationId": "update_host_initiator_group", + "tags": [ + "Host Initiator Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/HostInitiatorGroup" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/HostInitiatorGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Host Initiator Group", + "description": "Deletes an existing Host Initiator Group", + "operationId": "delete_host_initiator_group", + "tags": [ + "Host Initiator Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Host Initiator Groups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_host_initiator_groups", + "tags": [ + "Host Initiator Groups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/host_initiators": { + "get": { + "summary": "List Host Initiators", + "description": "Returns a paginated list of Host Initiators", + "operationId": "list_host_initiators", + "tags": [ + "Host Initiators" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "host_initiators" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/HostInitiator" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Host Initiator", + "description": "Creates a new Host Initiator", + "operationId": "create_host_initiator", + "tags": [ + "Host Initiators" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/HostInitiator" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/HostInitiator" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Host Initiators", + "description": "Returns available HTTP methods and actions", + "operationId": "options_host_initiators", + "tags": [ + "Host Initiators" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/host_initiators/{c_id}": { + "get": { + "summary": "Get a Host Initiator", + "description": "Returns a single Host Initiator by ID", + "operationId": "get_host_initiator", + "tags": [ + "Host Initiators" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/HostInitiator" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Host Initiator", + "description": "Updates an existing Host Initiator", + "operationId": "update_host_initiator", + "tags": [ + "Host Initiators" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/HostInitiator" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/HostInitiator" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Host Initiator", + "description": "Deletes an existing Host Initiator", + "operationId": "delete_host_initiator", + "tags": [ + "Host Initiators" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Host Initiators", + "description": "Returns available HTTP methods and actions", + "operationId": "options_host_initiators", + "tags": [ + "Host Initiators" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/hosts": { + "get": { + "summary": "List Hosts", + "description": "Returns a paginated list of Hosts", + "operationId": "list_hosts", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "hosts" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Host" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Host", + "description": "Creates a new Host", + "operationId": "create_host", + "tags": [ + "Hosts" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Host" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Host" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Hosts", + "description": "Returns available HTTP methods and actions", + "operationId": "options_hosts", + "tags": [ + "Hosts" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/hosts/{c_id}": { + "get": { + "summary": "Get a Host", + "description": "Returns a single Host by ID", + "operationId": "get_host", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Host" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Host", + "description": "Executes a custom action on a specific Host", + "operationId": "action_host", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/Host" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Host" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Hosts", + "description": "Returns available HTTP methods and actions", + "operationId": "options_hosts", + "tags": [ + "Hosts" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/hosts/{c_id}/tags": { + "get": { + "summary": "List Tags for Host", + "description": "Returns a paginated list of Tags", + "operationId": "list_host_tags", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_host_tag", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/hosts/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_host_tag", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_host_tag", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_host_tag", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/hosts/{c_id}/policies": { + "get": { + "summary": "List Policies for Host", + "description": "Returns a paginated list of Policies", + "operationId": "list_host_policies", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "policies" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqPolicy" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Policy", + "description": "Creates a new Policy", + "operationId": "create_host_policy", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicy" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policies", + "tags": [ + "Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/hosts/{c_id}/policies/{s_id}": { + "get": { + "summary": "Get a Policy", + "description": "Returns a single Policy by ID", + "operationId": "get_host_policy", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Policy", + "description": "Updates an existing Policy", + "operationId": "update_host_policy", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicy" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Policy", + "description": "Deletes an existing Policy", + "operationId": "delete_host_policy", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policies", + "tags": [ + "Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/hosts/{c_id}/policy_profiles": { + "get": { + "summary": "List Policy Profiles for Host", + "description": "Returns a paginated list of Policy Profiles", + "operationId": "list_host_policy_profiles", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "policy_profiles" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqPolicySet" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Policy Profile", + "description": "Creates a new Policy Profile", + "operationId": "create_host_policy_profile", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policy Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policy_profiles", + "tags": [ + "Policy Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/hosts/{c_id}/policy_profiles/{s_id}": { + "get": { + "summary": "Get a Policy Profile", + "description": "Returns a single Policy Profile by ID", + "operationId": "get_host_policy_profile", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "put_host_policy_profile", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "update_host_policy_profile", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "patch_host_policy_profile", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Policy Profile", + "description": "Deletes an existing Policy Profile", + "operationId": "delete_host_policy_profile", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policy Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policy_profiles", + "tags": [ + "Policy Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/hosts/{c_id}/lans": { + "get": { + "summary": "List Lans for Host", + "description": "Returns a paginated list of Lans", + "operationId": "list_host_lans", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "lans" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Lan" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Lans", + "description": "Returns available HTTP methods and actions", + "operationId": "options_lans", + "tags": [ + "Lans" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/hosts/{c_id}/lans/{s_id}": { + "get": { + "summary": "Get a Lan", + "description": "Returns a single Lan by ID", + "operationId": "get_host_lan", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Lan" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Lans", + "description": "Returns available HTTP methods and actions", + "operationId": "options_lans", + "tags": [ + "Lans" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/hosts/{c_id}/custom_attributes": { + "get": { + "summary": "List Custom Attributes for Host", + "description": "Returns a paginated list of Custom Attributes", + "operationId": "list_host_custom_attributes", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "custom_attributes" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CustomAttribute" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Custom Attribute", + "description": "Creates a new Custom Attribute", + "operationId": "create_host_custom_attribute", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomAttribute" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Attributes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_attributes", + "tags": [ + "Custom Attributes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/hosts/{c_id}/custom_attributes/{s_id}": { + "get": { + "summary": "Get a Custom Attribute", + "description": "Returns a single Custom Attribute by ID", + "operationId": "get_host_custom_attribute", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Custom Attribute", + "description": "Updates an existing Custom Attribute", + "operationId": "update_host_custom_attribute", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomAttribute" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Custom Attribute", + "description": "Deletes an existing Custom Attribute", + "operationId": "delete_host_custom_attribute", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Attributes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_attributes", + "tags": [ + "Custom Attributes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/instances": { + "get": { + "summary": "List Instances", + "description": "Returns a paginated list of Instances", + "operationId": "list_instances", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "instances" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Vm" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Instance", + "description": "Creates a new Instance", + "operationId": "create_instance", + "tags": [ + "Instances" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Vm" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Vm" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Instances", + "description": "Returns available HTTP methods and actions", + "operationId": "options_instances", + "tags": [ + "Instances" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/instances/{c_id}": { + "get": { + "summary": "Get a Instance", + "description": "Returns a single Instance by ID", + "operationId": "get_instance", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Vm" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Instance", + "description": "Updates an existing Instance", + "operationId": "update_instance", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Vm" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Vm" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Instances", + "description": "Returns available HTTP methods and actions", + "operationId": "options_instances", + "tags": [ + "Instances" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/instances/{c_id}/custom_attributes": { + "get": { + "summary": "List Custom Attributes for Instance", + "description": "Returns a paginated list of Custom Attributes", + "operationId": "list_instance_custom_attributes", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "custom_attributes" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CustomAttribute" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Custom Attribute", + "description": "Creates a new Custom Attribute", + "operationId": "create_instance_custom_attribute", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomAttribute" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Attributes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_attributes", + "tags": [ + "Custom Attributes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/instances/{c_id}/custom_attributes/{s_id}": { + "get": { + "summary": "Get a Custom Attribute", + "description": "Returns a single Custom Attribute by ID", + "operationId": "get_instance_custom_attribute", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Custom Attribute", + "description": "Updates an existing Custom Attribute", + "operationId": "update_instance_custom_attribute", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomAttribute" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Custom Attribute", + "description": "Deletes an existing Custom Attribute", + "operationId": "delete_instance_custom_attribute", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Attributes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_attributes", + "tags": [ + "Custom Attributes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/instances/{c_id}/load_balancers": { + "get": { + "summary": "List Load Balancers for Instance", + "description": "Returns a paginated list of Load Balancers", + "operationId": "list_instance_load_balancers", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "load_balancers" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/LoadBalancer" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Load Balancer", + "description": "Creates a new Load Balancer", + "operationId": "create_instance_load_balancer", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/LoadBalancer" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/LoadBalancer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Load Balancers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_load_balancers", + "tags": [ + "Load Balancers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/instances/{c_id}/load_balancers/{s_id}": { + "get": { + "summary": "Get a Load Balancer", + "description": "Returns a single Load Balancer by ID", + "operationId": "get_instance_load_balancer", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/LoadBalancer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Load Balancer", + "description": "Updates an existing Load Balancer", + "operationId": "update_instance_load_balancer", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/LoadBalancer" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/LoadBalancer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Load Balancers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_load_balancers", + "tags": [ + "Load Balancers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/instances/{c_id}/security_groups": { + "get": { + "summary": "List Security Groups for Instance", + "description": "Returns a paginated list of Security Groups", + "operationId": "list_instance_security_groups", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "security_groups" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/SecurityGroup" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Security Group", + "description": "Creates a new Security Group", + "operationId": "create_instance_security_group", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/SecurityGroup" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security Groups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_groups", + "tags": [ + "Security Groups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/instances/{c_id}/security_groups/{s_id}": { + "get": { + "summary": "Get a Security Group", + "description": "Returns a single Security Group by ID", + "operationId": "get_instance_security_group", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Security Group", + "description": "Updates an existing Security Group", + "operationId": "update_instance_security_group", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/SecurityGroup" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security Groups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_groups", + "tags": [ + "Security Groups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/instances/{c_id}/snapshots": { + "get": { + "summary": "List Snapshots for Instance", + "description": "Returns a paginated list of Snapshots", + "operationId": "list_instance_snapshots", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "snapshots" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Snapshot" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Snapshot", + "description": "Creates a new Snapshot", + "operationId": "create_instance_snapshot", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Snapshot" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Snapshot" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Snapshots", + "description": "Returns available HTTP methods and actions", + "operationId": "options_snapshots", + "tags": [ + "Snapshots" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/instances/{c_id}/snapshots/{s_id}": { + "get": { + "summary": "Get a Snapshot", + "description": "Returns a single Snapshot by ID", + "operationId": "get_instance_snapshot", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Snapshot" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Snapshot", + "description": "Updates an existing Snapshot", + "operationId": "update_instance_snapshot", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Snapshot" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Snapshot" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Snapshot", + "description": "Deletes an existing Snapshot", + "operationId": "delete_instance_snapshot", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Snapshots", + "description": "Returns available HTTP methods and actions", + "operationId": "options_snapshots", + "tags": [ + "Snapshots" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/iso_images": { + "get": { + "summary": "List ISO Images", + "description": "Returns a paginated list of ISO Images", + "operationId": "list_iso_images", + "tags": [ + "ISO Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "iso_images" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/IsoImage" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a ISO Image", + "description": "Creates a new ISO Image", + "operationId": "create_iso_image", + "tags": [ + "ISO Images" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/IsoImage" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/IsoImage" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for ISO Images", + "description": "Returns available HTTP methods and actions", + "operationId": "options_iso_images", + "tags": [ + "ISO Images" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/iso_images/{c_id}": { + "get": { + "summary": "Get a ISO Image", + "description": "Returns a single ISO Image by ID", + "operationId": "get_iso_image", + "tags": [ + "ISO Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/IsoImage" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a ISO Image", + "description": "Updates an existing ISO Image", + "operationId": "update_iso_image", + "tags": [ + "ISO Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/IsoImage" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/IsoImage" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for ISO Images", + "description": "Returns available HTTP methods and actions", + "operationId": "options_iso_images", + "tags": [ + "ISO Images" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/lans": { + "get": { + "summary": "List Lans", + "description": "Returns a paginated list of Lans", + "operationId": "list_lans", + "tags": [ + "Lans" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "lans" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Lan" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Lans", + "description": "Returns available HTTP methods and actions", + "operationId": "options_lans", + "tags": [ + "Lans" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/lans/{c_id}": { + "get": { + "summary": "Get a Lan", + "description": "Returns a single Lan by ID", + "operationId": "get_lan", + "tags": [ + "Lans" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Lan" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Lans", + "description": "Returns available HTTP methods and actions", + "operationId": "options_lans", + "tags": [ + "Lans" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/lans/{c_id}/tags": { + "get": { + "summary": "List Tags for Lan", + "description": "Returns a paginated list of Tags", + "operationId": "list_lan_tags", + "tags": [ + "Lans" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_lan_tag", + "tags": [ + "Lans" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/lans/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_lan_tag", + "tags": [ + "Lans" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_lan_tag", + "tags": [ + "Lans" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_lan_tag", + "tags": [ + "Lans" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/load_balancers": { + "get": { + "summary": "List Load Balancers", + "description": "Returns a paginated list of Load Balancers", + "operationId": "list_load_balancers", + "tags": [ + "Load Balancers" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "load_balancers" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/LoadBalancer" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Load Balancer", + "description": "Creates a new Load Balancer", + "operationId": "create_load_balancer", + "tags": [ + "Load Balancers" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/LoadBalancer" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/LoadBalancer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Load Balancers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_load_balancers", + "tags": [ + "Load Balancers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/load_balancers/{c_id}": { + "get": { + "summary": "Get a Load Balancer", + "description": "Returns a single Load Balancer by ID", + "operationId": "get_load_balancer", + "tags": [ + "Load Balancers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/LoadBalancer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Load Balancer", + "description": "Executes a custom action on a specific Load Balancer", + "operationId": "action_load_balancer", + "tags": [ + "Load Balancers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/LoadBalancer" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/LoadBalancer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Load Balancers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_load_balancers", + "tags": [ + "Load Balancers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/measures": { + "get": { + "summary": "List Measures", + "description": "Returns a paginated list of Measures", + "operationId": "list_measures", + "tags": [ + "Measures" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "measures" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ChargebackRateDetailMeasure" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Measures", + "description": "Returns available HTTP methods and actions", + "operationId": "options_measures", + "tags": [ + "Measures" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/measures/{c_id}": { + "get": { + "summary": "Get a Measure", + "description": "Returns a single Measure by ID", + "operationId": "get_measure", + "tags": [ + "Measures" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ChargebackRateDetailMeasure" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Measures", + "description": "Returns available HTTP methods and actions", + "operationId": "options_measures", + "tags": [ + "Measures" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/metric_rollups": { + "get": { + "summary": "List Metric Rollups", + "description": "Returns a paginated list of Metric Rollups", + "operationId": "list_metric_rollups", + "tags": [ + "Metric Rollups" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "metric_rollups" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MetricRollup" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Metric Rollups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_metric_rollups", + "tags": [ + "Metric Rollups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/metric_rollups/{c_id}": { + "get": { + "summary": "Get a Metric Rollup", + "description": "Returns a single Metric Rollup by ID", + "operationId": "get_metric_rollup", + "tags": [ + "Metric Rollups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MetricRollup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Metric Rollups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_metric_rollups", + "tags": [ + "Metric Rollups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/metrics": { + "get": { + "summary": "List Metrics", + "description": "Returns a paginated list of Metrics", + "operationId": "list_metrics", + "tags": [ + "Metrics" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "metrics" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Metric" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Metrics", + "description": "Returns available HTTP methods and actions", + "operationId": "options_metrics", + "tags": [ + "Metrics" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/metrics/{c_id}": { + "get": { + "summary": "Get a Metric", + "description": "Returns a single Metric by ID", + "operationId": "get_metric", + "tags": [ + "Metrics" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Metric" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Metrics", + "description": "Returns available HTTP methods and actions", + "operationId": "options_metrics", + "tags": [ + "Metrics" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/network_routers": { + "get": { + "summary": "List Network_Routers", + "description": "Returns a paginated list of Network_Routers", + "operationId": "list_network_routers", + "tags": [ + "Network_Routers" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "network_routers" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/NetworkRouter" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Network_Router", + "description": "Creates a new Network_Router", + "operationId": "create_network_router", + "tags": [ + "Network_Routers" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/NetworkRouter" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/NetworkRouter" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Network_Routers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_network_routers", + "tags": [ + "Network_Routers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/network_routers/{c_id}": { + "get": { + "summary": "Get a Network_Router", + "description": "Returns a single Network_Router by ID", + "operationId": "get_network_router", + "tags": [ + "Network_Routers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/NetworkRouter" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Network_Router", + "description": "Updates an existing Network_Router", + "operationId": "update_network_router", + "tags": [ + "Network_Routers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/NetworkRouter" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/NetworkRouter" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Network_Router", + "description": "Executes a custom action on a specific Network_Router", + "operationId": "action_network_router", + "tags": [ + "Network_Routers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/NetworkRouter" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/NetworkRouter" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Network_Router", + "description": "Updates an existing Network_Router", + "operationId": "update_network_router", + "tags": [ + "Network_Routers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/NetworkRouter" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/NetworkRouter" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Network_Router", + "description": "Deletes an existing Network_Router", + "operationId": "delete_network_router", + "tags": [ + "Network_Routers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Network_Routers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_network_routers", + "tags": [ + "Network_Routers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/network_routers/{c_id}/tags": { + "get": { + "summary": "List Tags for Network_Router", + "description": "Returns a paginated list of Tags", + "operationId": "list_network_router_tags", + "tags": [ + "Network_Routers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_network_router_tag", + "tags": [ + "Network_Routers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/network_routers/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_network_router_tag", + "tags": [ + "Network_Routers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_network_router_tag", + "tags": [ + "Network_Routers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_network_router_tag", + "tags": [ + "Network_Routers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/network_services": { + "get": { + "summary": "List Network_Services", + "description": "Returns a paginated list of Network_Services", + "operationId": "list_network_services", + "tags": [ + "Network_Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "network_services" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/NetworkService" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Network_Service", + "description": "Creates a new Network_Service", + "operationId": "create_network_service", + "tags": [ + "Network_Services" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/NetworkService" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/NetworkService" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Network_Services", + "description": "Returns available HTTP methods and actions", + "operationId": "options_network_services", + "tags": [ + "Network_Services" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/network_services/{c_id}": { + "get": { + "summary": "Get a Network_Service", + "description": "Returns a single Network_Service by ID", + "operationId": "get_network_service", + "tags": [ + "Network_Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/NetworkService" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Network_Service", + "description": "Executes a custom action on a specific Network_Service", + "operationId": "action_network_service", + "tags": [ + "Network_Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/NetworkService" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/NetworkService" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Network_Service", + "description": "Deletes an existing Network_Service", + "operationId": "delete_network_service", + "tags": [ + "Network_Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Network_Services", + "description": "Returns available HTTP methods and actions", + "operationId": "options_network_services", + "tags": [ + "Network_Services" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/network_services/{c_id}/tags": { + "get": { + "summary": "List Tags for Network_Service", + "description": "Returns a paginated list of Tags", + "operationId": "list_network_service_tags", + "tags": [ + "Network_Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_network_service_tag", + "tags": [ + "Network_Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/network_services/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_network_service_tag", + "tags": [ + "Network_Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_network_service_tag", + "tags": [ + "Network_Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_network_service_tag", + "tags": [ + "Network_Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/notifications": { + "get": { + "summary": "List User's past notifications", + "description": "Returns a paginated list of User's past notifications", + "operationId": "list_notifications", + "tags": [ + "User's past notifications" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "notifications" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/NotificationRecipient" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a User's past notification", + "description": "Creates a new User's past notification", + "operationId": "create_notification", + "tags": [ + "User's past notifications" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/NotificationRecipient" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/NotificationRecipient" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for User's past notifications", + "description": "Returns available HTTP methods and actions", + "operationId": "options_notifications", + "tags": [ + "User's past notifications" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/notifications/{c_id}": { + "get": { + "summary": "Get a User's past notification", + "description": "Returns a single User's past notification by ID", + "operationId": "get_notification", + "tags": [ + "User's past notifications" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/NotificationRecipient" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a User's past notification", + "description": "Updates an existing User's past notification", + "operationId": "update_notification", + "tags": [ + "User's past notifications" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/NotificationRecipient" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/NotificationRecipient" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a User's past notification", + "description": "Deletes an existing User's past notification", + "operationId": "delete_notification", + "tags": [ + "User's past notifications" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for User's past notifications", + "description": "Returns available HTTP methods and actions", + "operationId": "options_notifications", + "tags": [ + "User's past notifications" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/orchestration_stacks": { + "get": { + "summary": "List Orchestration Stacks", + "description": "Returns a paginated list of Orchestration Stacks", + "operationId": "list_orchestration_stacks", + "tags": [ + "Orchestration Stacks" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "orchestration_stacks" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/OrchestrationStack" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Orchestration Stack", + "description": "Creates a new Orchestration Stack", + "operationId": "create_orchestration_stack", + "tags": [ + "Orchestration Stacks" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/OrchestrationStack" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/OrchestrationStack" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Orchestration Stacks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_orchestration_stacks", + "tags": [ + "Orchestration Stacks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/orchestration_stacks/{c_id}": { + "get": { + "summary": "Get a Orchestration Stack", + "description": "Returns a single Orchestration Stack by ID", + "operationId": "get_orchestration_stack", + "tags": [ + "Orchestration Stacks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/OrchestrationStack" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Orchestration Stack", + "description": "Executes a custom action on a specific Orchestration Stack", + "operationId": "action_orchestration_stack", + "tags": [ + "Orchestration Stacks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/OrchestrationStack" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/OrchestrationStack" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Orchestration Stacks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_orchestration_stacks", + "tags": [ + "Orchestration Stacks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/orchestration_templates": { + "get": { + "summary": "List Orchestration Template", + "description": "Returns a paginated list of Orchestration Template", + "operationId": "list_orchestration_templates", + "tags": [ + "Orchestration Template" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "orchestration_templates" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/OrchestrationTemplate" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Orchestration Template", + "description": "Creates a new Orchestration Template", + "operationId": "create_orchestration_template", + "tags": [ + "Orchestration Template" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/OrchestrationTemplate" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/OrchestrationTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Orchestration Template", + "description": "Returns available HTTP methods and actions", + "operationId": "options_orchestration_templates", + "tags": [ + "Orchestration Template" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/orchestration_templates/{c_id}": { + "get": { + "summary": "Get a Orchestration Template", + "description": "Returns a single Orchestration Template by ID", + "operationId": "get_orchestration_template", + "tags": [ + "Orchestration Template" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/OrchestrationTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Orchestration Template", + "description": "Updates an existing Orchestration Template", + "operationId": "update_orchestration_template", + "tags": [ + "Orchestration Template" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/OrchestrationTemplate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/OrchestrationTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Orchestration Template", + "description": "Updates an existing Orchestration Template", + "operationId": "update_orchestration_template", + "tags": [ + "Orchestration Template" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/OrchestrationTemplate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/OrchestrationTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Orchestration Template", + "description": "Updates an existing Orchestration Template", + "operationId": "update_orchestration_template", + "tags": [ + "Orchestration Template" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/OrchestrationTemplate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/OrchestrationTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Orchestration Template", + "description": "Deletes an existing Orchestration Template", + "operationId": "delete_orchestration_template", + "tags": [ + "Orchestration Template" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Orchestration Template", + "description": "Returns available HTTP methods and actions", + "operationId": "options_orchestration_templates", + "tags": [ + "Orchestration Template" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_chassis": { + "get": { + "summary": "List Physical Chassis", + "description": "Returns a paginated list of Physical Chassis", + "operationId": "list_physical_chassis", + "tags": [ + "Physical Chassis" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "physical_chassis" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/PhysicalChassis" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Physical Chassis", + "description": "Creates a new Physical Chassis", + "operationId": "create_physical_chassis", + "tags": [ + "Physical Chassis" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PhysicalChassis" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalChassis" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Physical Chassis", + "description": "Returns available HTTP methods and actions", + "operationId": "options_physical_chassis", + "tags": [ + "Physical Chassis" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_chassis/{c_id}": { + "get": { + "summary": "Get a Physical Chassis", + "description": "Returns a single Physical Chassis by ID", + "operationId": "get_physical_chassis", + "tags": [ + "Physical Chassis" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalChassis" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Physical Chassis", + "description": "Executes a custom action on a specific Physical Chassis", + "operationId": "action_physical_chassis", + "tags": [ + "Physical Chassis" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/PhysicalChassis" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalChassis" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Physical Chassis", + "description": "Returns available HTTP methods and actions", + "operationId": "options_physical_chassis", + "tags": [ + "Physical Chassis" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_chassis/{c_id}/event_streams": { + "get": { + "summary": "List Event Streams for Physical Chassis", + "description": "Returns a paginated list of Event Streams", + "operationId": "list_physical_chassis_event_streams", + "tags": [ + "Physical Chassis" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "event_streams" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/EventStream" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Event Stream", + "description": "Creates a new Event Stream", + "operationId": "create_physical_chassis_event_stream", + "tags": [ + "Physical Chassis" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/EventStream" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/EventStream" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Event Streams", + "description": "Returns available HTTP methods and actions", + "operationId": "options_event_streams", + "tags": [ + "Event Streams" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_chassis/{c_id}/event_streams/{s_id}": { + "get": { + "summary": "Get a Event Stream", + "description": "Returns a single Event Stream by ID", + "operationId": "get_physical_chassis_event_stream", + "tags": [ + "Physical Chassis" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/EventStream" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Event Stream", + "description": "Updates an existing Event Stream", + "operationId": "update_physical_chassis_event_stream", + "tags": [ + "Physical Chassis" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/EventStream" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/EventStream" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Event Streams", + "description": "Returns available HTTP methods and actions", + "operationId": "options_event_streams", + "tags": [ + "Event Streams" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_racks": { + "get": { + "summary": "List Physical Racks", + "description": "Returns a paginated list of Physical Racks", + "operationId": "list_physical_racks", + "tags": [ + "Physical Racks" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "physical_racks" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/PhysicalRack" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Physical Rack", + "description": "Creates a new Physical Rack", + "operationId": "create_physical_rack", + "tags": [ + "Physical Racks" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PhysicalRack" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalRack" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Physical Racks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_physical_racks", + "tags": [ + "Physical Racks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_racks/{c_id}": { + "get": { + "summary": "Get a Physical Rack", + "description": "Returns a single Physical Rack by ID", + "operationId": "get_physical_rack", + "tags": [ + "Physical Racks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalRack" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Physical Rack", + "description": "Executes a custom action on a specific Physical Rack", + "operationId": "action_physical_rack", + "tags": [ + "Physical Racks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/PhysicalRack" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalRack" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Physical Racks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_physical_racks", + "tags": [ + "Physical Racks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_server_profiles": { + "get": { + "summary": "List Physical Server Profiles", + "description": "Returns a paginated list of Physical Server Profiles", + "operationId": "list_physical_server_profiles", + "tags": [ + "Physical Server Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "physical_server_profiles" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/PhysicalServerProfile" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Physical Server Profile", + "description": "Creates a new Physical Server Profile", + "operationId": "create_physical_server_profile", + "tags": [ + "Physical Server Profiles" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PhysicalServerProfile" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalServerProfile" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Physical Server Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_physical_server_profiles", + "tags": [ + "Physical Server Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_server_profiles/{c_id}": { + "get": { + "summary": "Get a Physical Server Profile", + "description": "Returns a single Physical Server Profile by ID", + "operationId": "get_physical_server_profile", + "tags": [ + "Physical Server Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalServerProfile" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Physical Server Profile", + "description": "Updates an existing Physical Server Profile", + "operationId": "update_physical_server_profile", + "tags": [ + "Physical Server Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PhysicalServerProfile" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalServerProfile" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Physical Server Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_physical_server_profiles", + "tags": [ + "Physical Server Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_server_profiles/{c_id}/event_streams": { + "get": { + "summary": "List Event Streams for Physical Server Profile", + "description": "Returns a paginated list of Event Streams", + "operationId": "list_physical_server_profile_event_streams", + "tags": [ + "Physical Server Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "event_streams" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/EventStream" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Event Stream", + "description": "Creates a new Event Stream", + "operationId": "create_physical_server_profile_event_stream", + "tags": [ + "Physical Server Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/EventStream" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/EventStream" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Event Streams", + "description": "Returns available HTTP methods and actions", + "operationId": "options_event_streams", + "tags": [ + "Event Streams" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_server_profiles/{c_id}/event_streams/{s_id}": { + "get": { + "summary": "Get a Event Stream", + "description": "Returns a single Event Stream by ID", + "operationId": "get_physical_server_profile_event_stream", + "tags": [ + "Physical Server Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/EventStream" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Event Stream", + "description": "Updates an existing Event Stream", + "operationId": "update_physical_server_profile_event_stream", + "tags": [ + "Physical Server Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/EventStream" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/EventStream" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Event Streams", + "description": "Returns available HTTP methods and actions", + "operationId": "options_event_streams", + "tags": [ + "Event Streams" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_servers": { + "get": { + "summary": "List Physical Servers", + "description": "Returns a paginated list of Physical Servers", + "operationId": "list_physical_servers", + "tags": [ + "Physical Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "physical_servers" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/PhysicalServer" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Physical Server", + "description": "Creates a new Physical Server", + "operationId": "create_physical_server", + "tags": [ + "Physical Servers" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PhysicalServer" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalServer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Physical Servers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_physical_servers", + "tags": [ + "Physical Servers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_servers/{c_id}": { + "get": { + "summary": "Get a Physical Server", + "description": "Returns a single Physical Server by ID", + "operationId": "get_physical_server", + "tags": [ + "Physical Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalServer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Physical Server", + "description": "Executes a custom action on a specific Physical Server", + "operationId": "action_physical_server", + "tags": [ + "Physical Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/PhysicalServer" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalServer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Physical Servers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_physical_servers", + "tags": [ + "Physical Servers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_servers/{c_id}/event_streams": { + "get": { + "summary": "List Event Streams for Physical Server", + "description": "Returns a paginated list of Event Streams", + "operationId": "list_physical_server_event_streams", + "tags": [ + "Physical Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "event_streams" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/EventStream" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Event Stream", + "description": "Creates a new Event Stream", + "operationId": "create_physical_server_event_stream", + "tags": [ + "Physical Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/EventStream" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/EventStream" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Event Streams", + "description": "Returns available HTTP methods and actions", + "operationId": "options_event_streams", + "tags": [ + "Event Streams" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_servers/{c_id}/event_streams/{s_id}": { + "get": { + "summary": "Get a Event Stream", + "description": "Returns a single Event Stream by ID", + "operationId": "get_physical_server_event_stream", + "tags": [ + "Physical Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/EventStream" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Event Stream", + "description": "Updates an existing Event Stream", + "operationId": "update_physical_server_event_stream", + "tags": [ + "Physical Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/EventStream" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/EventStream" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Event Streams", + "description": "Returns available HTTP methods and actions", + "operationId": "options_event_streams", + "tags": [ + "Event Streams" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_servers/{c_id}/firmware_binaries": { + "get": { + "summary": "List Firmware Binaries for Physical Server", + "description": "Returns a paginated list of Firmware Binaries", + "operationId": "list_physical_server_firmware_binaries", + "tags": [ + "Physical Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "firmware_binaries" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/FirmwareBinary" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Firmware Binaries", + "description": "Returns available HTTP methods and actions", + "operationId": "options_firmware_binaries", + "tags": [ + "Firmware Binaries" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_servers/{c_id}/firmware_binaries/{s_id}": { + "get": { + "summary": "Get a Firmware Binary", + "description": "Returns a single Firmware Binary by ID", + "operationId": "get_physical_server_firmware_binary", + "tags": [ + "Physical Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/FirmwareBinary" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Firmware Binaries", + "description": "Returns available HTTP methods and actions", + "operationId": "options_firmware_binaries", + "tags": [ + "Firmware Binaries" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_storage_families": { + "get": { + "summary": "List Physical Storage Families", + "description": "Returns a paginated list of Physical Storage Families", + "operationId": "list_physical_storage_families", + "tags": [ + "Physical Storage Families" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "physical_storage_families" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/PhysicalStorageFamily" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Physical Storage Family", + "description": "Creates a new Physical Storage Family", + "operationId": "create_physical_storage_family", + "tags": [ + "Physical Storage Families" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PhysicalStorageFamily" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalStorageFamily" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Physical Storage Families", + "description": "Returns available HTTP methods and actions", + "operationId": "options_physical_storage_families", + "tags": [ + "Physical Storage Families" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_storage_families/{c_id}": { + "get": { + "summary": "Get a Physical Storage Family", + "description": "Returns a single Physical Storage Family by ID", + "operationId": "get_physical_storage_family", + "tags": [ + "Physical Storage Families" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalStorageFamily" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Physical Storage Family", + "description": "Updates an existing Physical Storage Family", + "operationId": "update_physical_storage_family", + "tags": [ + "Physical Storage Families" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PhysicalStorageFamily" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalStorageFamily" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Physical Storage Families", + "description": "Returns available HTTP methods and actions", + "operationId": "options_physical_storage_families", + "tags": [ + "Physical Storage Families" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_storages": { + "get": { + "summary": "List Physical Storages", + "description": "Returns a paginated list of Physical Storages", + "operationId": "list_physical_storages", + "tags": [ + "Physical Storages" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "physical_storages" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/PhysicalStorage" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Physical Storage", + "description": "Creates a new Physical Storage", + "operationId": "create_physical_storage", + "tags": [ + "Physical Storages" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PhysicalStorage" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalStorage" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Physical Storages", + "description": "Returns available HTTP methods and actions", + "operationId": "options_physical_storages", + "tags": [ + "Physical Storages" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_storages/{c_id}": { + "get": { + "summary": "Get a Physical Storage", + "description": "Returns a single Physical Storage by ID", + "operationId": "get_physical_storage", + "tags": [ + "Physical Storages" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalStorage" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Physical Storage", + "description": "Updates an existing Physical Storage", + "operationId": "update_physical_storage", + "tags": [ + "Physical Storages" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PhysicalStorage" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalStorage" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Physical Storage", + "description": "Executes a custom action on a specific Physical Storage", + "operationId": "action_physical_storage", + "tags": [ + "Physical Storages" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/PhysicalStorage" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalStorage" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Physical Storage", + "description": "Updates an existing Physical Storage", + "operationId": "update_physical_storage", + "tags": [ + "Physical Storages" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PhysicalStorage" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalStorage" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Physical Storage", + "description": "Deletes an existing Physical Storage", + "operationId": "delete_physical_storage", + "tags": [ + "Physical Storages" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Physical Storages", + "description": "Returns available HTTP methods and actions", + "operationId": "options_physical_storages", + "tags": [ + "Physical Storages" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_switches": { + "get": { + "summary": "List Physical Switches", + "description": "Returns a paginated list of Physical Switches", + "operationId": "list_physical_switches", + "tags": [ + "Physical Switches" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "physical_switches" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/PhysicalSwitch" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Physical Switch", + "description": "Creates a new Physical Switch", + "operationId": "create_physical_switch", + "tags": [ + "Physical Switches" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PhysicalSwitch" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalSwitch" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Physical Switches", + "description": "Returns available HTTP methods and actions", + "operationId": "options_physical_switches", + "tags": [ + "Physical Switches" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_switches/{c_id}": { + "get": { + "summary": "Get a Physical Switch", + "description": "Returns a single Physical Switch by ID", + "operationId": "get_physical_switch", + "tags": [ + "Physical Switches" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalSwitch" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Physical Switch", + "description": "Executes a custom action on a specific Physical Switch", + "operationId": "action_physical_switch", + "tags": [ + "Physical Switches" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/PhysicalSwitch" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PhysicalSwitch" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Physical Switches", + "description": "Returns available HTTP methods and actions", + "operationId": "options_physical_switches", + "tags": [ + "Physical Switches" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_switches/{c_id}/event_streams": { + "get": { + "summary": "List Event Streams for Physical Switch", + "description": "Returns a paginated list of Event Streams", + "operationId": "list_physical_switch_event_streams", + "tags": [ + "Physical Switches" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "event_streams" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/EventStream" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Event Stream", + "description": "Creates a new Event Stream", + "operationId": "create_physical_switch_event_stream", + "tags": [ + "Physical Switches" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/EventStream" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/EventStream" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Event Streams", + "description": "Returns available HTTP methods and actions", + "operationId": "options_event_streams", + "tags": [ + "Event Streams" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_switches/{c_id}/event_streams/{s_id}": { + "get": { + "summary": "Get a Event Stream", + "description": "Returns a single Event Stream by ID", + "operationId": "get_physical_switch_event_stream", + "tags": [ + "Physical Switches" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/EventStream" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Event Stream", + "description": "Updates an existing Event Stream", + "operationId": "update_physical_switch_event_stream", + "tags": [ + "Physical Switches" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/EventStream" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/EventStream" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Event Streams", + "description": "Returns available HTTP methods and actions", + "operationId": "options_event_streams", + "tags": [ + "Event Streams" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/pictures": { + "get": { + "summary": "List Pictures", + "description": "Returns a paginated list of Pictures", + "operationId": "list_pictures", + "tags": [ + "Pictures" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "pictures" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Picture" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Picture", + "description": "Creates a new Picture", + "operationId": "create_picture", + "tags": [ + "Pictures" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Picture" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Picture" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Pictures", + "description": "Returns available HTTP methods and actions", + "operationId": "options_pictures", + "tags": [ + "Pictures" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/pictures/{c_id}": { + "get": { + "summary": "Get a Picture", + "description": "Returns a single Picture by ID", + "operationId": "get_picture", + "tags": [ + "Pictures" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Picture" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Picture", + "description": "Updates an existing Picture", + "operationId": "update_picture", + "tags": [ + "Pictures" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Picture" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Picture" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Pictures", + "description": "Returns available HTTP methods and actions", + "operationId": "options_pictures", + "tags": [ + "Pictures" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/policies": { + "get": { + "summary": "List Policies", + "description": "Returns a paginated list of Policies", + "operationId": "list_policies", + "tags": [ + "Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "policies" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqPolicy" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Policy", + "description": "Creates a new Policy", + "operationId": "create_policy", + "tags": [ + "Policies" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicy" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policies", + "tags": [ + "Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/policies/{c_id}": { + "get": { + "summary": "Get a Policy", + "description": "Returns a single Policy by ID", + "operationId": "get_policy", + "tags": [ + "Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Policy", + "description": "Updates an existing Policy", + "operationId": "update_policy", + "tags": [ + "Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicy" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Policy", + "description": "Deletes an existing Policy", + "operationId": "delete_policy", + "tags": [ + "Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policies", + "tags": [ + "Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/policies/{c_id}/conditions": { + "get": { + "summary": "List Conditions for Policy", + "description": "Returns a paginated list of Conditions", + "operationId": "list_policy_conditions", + "tags": [ + "Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "conditions" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Condition" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Condition", + "description": "Creates a new Condition", + "operationId": "create_policy_condition", + "tags": [ + "Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Condition" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Condition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Conditions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_conditions", + "tags": [ + "Conditions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/policies/{c_id}/conditions/{s_id}": { + "get": { + "summary": "Get a Condition", + "description": "Returns a single Condition by ID", + "operationId": "get_policy_condition", + "tags": [ + "Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Condition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Condition", + "description": "Updates an existing Condition", + "operationId": "update_policy_condition", + "tags": [ + "Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Condition" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Condition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Condition", + "description": "Deletes an existing Condition", + "operationId": "delete_policy_condition", + "tags": [ + "Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Conditions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_conditions", + "tags": [ + "Conditions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/policies/{c_id}/policy_actions": { + "get": { + "summary": "List Actions for Policy", + "description": "Returns a paginated list of Actions", + "operationId": "list_policy_policy_actions", + "tags": [ + "Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "policy_actions" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqAction" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Action", + "description": "Creates a new Action", + "operationId": "create_policy_policy_action", + "tags": [ + "Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAction" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAction" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Actions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policy_actions", + "tags": [ + "Actions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/policies/{c_id}/policy_actions/{s_id}": { + "get": { + "summary": "Get a Action", + "description": "Returns a single Action by ID", + "operationId": "get_policy_policy_action", + "tags": [ + "Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAction" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Action", + "description": "Updates an existing Action", + "operationId": "update_policy_policy_action", + "tags": [ + "Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAction" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAction" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Actions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policy_actions", + "tags": [ + "Actions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/policies/{c_id}/events": { + "get": { + "summary": "List Events for Policy", + "description": "Returns a paginated list of Events", + "operationId": "list_policy_events", + "tags": [ + "Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "events" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqEventDefinition" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Event", + "description": "Creates a new Event", + "operationId": "create_policy_event", + "tags": [ + "Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqEventDefinition" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqEventDefinition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Events", + "description": "Returns available HTTP methods and actions", + "operationId": "options_events", + "tags": [ + "Events" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/policies/{c_id}/events/{s_id}": { + "get": { + "summary": "Get a Event", + "description": "Returns a single Event by ID", + "operationId": "get_policy_event", + "tags": [ + "Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqEventDefinition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Event", + "description": "Updates an existing Event", + "operationId": "update_policy_event", + "tags": [ + "Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqEventDefinition" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqEventDefinition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Events", + "description": "Returns available HTTP methods and actions", + "operationId": "options_events", + "tags": [ + "Events" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/policy_actions": { + "get": { + "summary": "List Actions", + "description": "Returns a paginated list of Actions", + "operationId": "list_policy_actions", + "tags": [ + "Actions" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "policy_actions" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqAction" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Action", + "description": "Creates a new Action", + "operationId": "create_policy_action", + "tags": [ + "Actions" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAction" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAction" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Actions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policy_actions", + "tags": [ + "Actions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/policy_actions/{c_id}": { + "get": { + "summary": "Get a Action", + "description": "Returns a single Action by ID", + "operationId": "get_policy_action", + "tags": [ + "Actions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAction" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Action", + "description": "Updates an existing Action", + "operationId": "update_policy_action", + "tags": [ + "Actions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqAction" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqAction" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Actions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policy_actions", + "tags": [ + "Actions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/policy_profiles": { + "get": { + "summary": "List Policy Profiles", + "description": "Returns a paginated list of Policy Profiles", + "operationId": "list_policy_profiles", + "tags": [ + "Policy Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "policy_profiles" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqPolicySet" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Policy Profile", + "description": "Creates a new Policy Profile", + "operationId": "create_policy_profile", + "tags": [ + "Policy Profiles" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policy Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policy_profiles", + "tags": [ + "Policy Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/policy_profiles/{c_id}": { + "get": { + "summary": "Get a Policy Profile", + "description": "Returns a single Policy Profile by ID", + "operationId": "get_policy_profile", + "tags": [ + "Policy Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "update_policy_profile", + "tags": [ + "Policy Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "update_policy_profile", + "tags": [ + "Policy Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "update_policy_profile", + "tags": [ + "Policy Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Policy Profile", + "description": "Deletes an existing Policy Profile", + "operationId": "delete_policy_profile", + "tags": [ + "Policy Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policy Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policy_profiles", + "tags": [ + "Policy Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/policy_profiles/{c_id}/policies": { + "get": { + "summary": "List Policies for Policy Profile", + "description": "Returns a paginated list of Policies", + "operationId": "list_policy_profile_policies", + "tags": [ + "Policy Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "policies" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqPolicy" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Policy", + "description": "Creates a new Policy", + "operationId": "create_policy_profile_policy", + "tags": [ + "Policy Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicy" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policies", + "tags": [ + "Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/policy_profiles/{c_id}/policies/{s_id}": { + "get": { + "summary": "Get a Policy", + "description": "Returns a single Policy by ID", + "operationId": "get_policy_profile_policy", + "tags": [ + "Policy Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Policy", + "description": "Updates an existing Policy", + "operationId": "update_policy_profile_policy", + "tags": [ + "Policy Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicy" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Policy", + "description": "Deletes an existing Policy", + "operationId": "delete_policy_profile_policy", + "tags": [ + "Policy Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policies", + "tags": [ + "Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers": { + "get": { + "summary": "List Providers", + "description": "Returns a paginated list of Providers", + "operationId": "list_providers", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "providers" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ExtManagementSystem" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Provider", + "description": "Creates a new Provider", + "operationId": "create_provider", + "tags": [ + "Providers" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ExtManagementSystem" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ExtManagementSystem" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Providers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_providers", + "tags": [ + "Providers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}": { + "get": { + "summary": "Get a Provider", + "description": "Returns a single Provider by ID", + "operationId": "get_provider", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ExtManagementSystem" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Provider", + "description": "Updates an existing Provider", + "operationId": "update_provider", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ExtManagementSystem" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ExtManagementSystem" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Provider", + "description": "Executes a custom action on a specific Provider", + "operationId": "action_provider", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/ExtManagementSystem" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ExtManagementSystem" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Provider", + "description": "Updates an existing Provider", + "operationId": "update_provider", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ExtManagementSystem" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ExtManagementSystem" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Provider", + "description": "Deletes an existing Provider", + "operationId": "delete_provider", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Providers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_providers", + "tags": [ + "Providers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/configuration_profiles": { + "get": { + "summary": "List Configuration Profiles for Provider", + "description": "Returns a paginated list of Configuration Profiles", + "operationId": "list_provider_configuration_profiles", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "configuration_profiles" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ConfigurationProfile" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Configuration Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_configuration_profiles", + "tags": [ + "Configuration Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/configuration_profiles/{s_id}": { + "get": { + "summary": "Get a Configuration Profile", + "description": "Returns a single Configuration Profile by ID", + "operationId": "get_provider_configuration_profile", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfigurationProfile" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Configuration Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_configuration_profiles", + "tags": [ + "Configuration Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/configured_systems": { + "get": { + "summary": "List Configured Systems for Provider", + "description": "Returns a paginated list of Configured Systems", + "operationId": "list_provider_configured_systems", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "configured_systems" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ConfiguredSystem" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Configured Systems", + "description": "Returns available HTTP methods and actions", + "operationId": "options_configured_systems", + "tags": [ + "Configured Systems" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/configured_systems/{s_id}": { + "get": { + "summary": "Get a Configured System", + "description": "Returns a single Configured System by ID", + "operationId": "get_provider_configured_system", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ConfiguredSystem" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Configured Systems", + "description": "Returns available HTTP methods and actions", + "operationId": "options_configured_systems", + "tags": [ + "Configured Systems" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/tags": { + "get": { + "summary": "List Tags for Provider", + "description": "Returns a paginated list of Tags", + "operationId": "list_provider_tags", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_provider_tag", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_provider_tag", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_provider_tag", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_provider_tag", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/policies": { + "get": { + "summary": "List Policies for Provider", + "description": "Returns a paginated list of Policies", + "operationId": "list_provider_policies", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "policies" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqPolicy" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Policy", + "description": "Creates a new Policy", + "operationId": "create_provider_policy", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicy" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policies", + "tags": [ + "Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/policies/{s_id}": { + "get": { + "summary": "Get a Policy", + "description": "Returns a single Policy by ID", + "operationId": "get_provider_policy", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Policy", + "description": "Updates an existing Policy", + "operationId": "update_provider_policy", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicy" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Policy", + "description": "Deletes an existing Policy", + "operationId": "delete_provider_policy", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policies", + "tags": [ + "Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/policy_profiles": { + "get": { + "summary": "List Policy Profiles for Provider", + "description": "Returns a paginated list of Policy Profiles", + "operationId": "list_provider_policy_profiles", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "policy_profiles" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqPolicySet" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Policy Profile", + "description": "Creates a new Policy Profile", + "operationId": "create_provider_policy_profile", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policy Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policy_profiles", + "tags": [ + "Policy Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/policy_profiles/{s_id}": { + "get": { + "summary": "Get a Policy Profile", + "description": "Returns a single Policy Profile by ID", + "operationId": "get_provider_policy_profile", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "put_provider_policy_profile", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "update_provider_policy_profile", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "patch_provider_policy_profile", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Policy Profile", + "description": "Deletes an existing Policy Profile", + "operationId": "delete_provider_policy_profile", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policy Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policy_profiles", + "tags": [ + "Policy Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/cloud_networks": { + "get": { + "summary": "List Cloud Networks for Provider", + "description": "Returns a paginated list of Cloud Networks", + "operationId": "list_provider_cloud_networks", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "cloud_networks" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CloudNetwork" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Cloud Network", + "description": "Creates a new Cloud Network", + "operationId": "create_provider_cloud_network", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudNetwork" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudNetwork" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Networks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_networks", + "tags": [ + "Cloud Networks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/cloud_networks/{s_id}": { + "get": { + "summary": "Get a Cloud Network", + "description": "Returns a single Cloud Network by ID", + "operationId": "get_provider_cloud_network", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudNetwork" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Cloud Network", + "description": "Updates an existing Cloud Network", + "operationId": "put_provider_cloud_network", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudNetwork" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudNetwork" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Cloud Network", + "description": "Updates an existing Cloud Network", + "operationId": "update_provider_cloud_network", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudNetwork" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudNetwork" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Cloud Network", + "description": "Updates an existing Cloud Network", + "operationId": "patch_provider_cloud_network", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudNetwork" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudNetwork" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Cloud Network", + "description": "Deletes an existing Cloud Network", + "operationId": "delete_provider_cloud_network", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Networks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_networks", + "tags": [ + "Cloud Networks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/cloud_subnets": { + "get": { + "summary": "List Cloud Subnets for Provider", + "description": "Returns a paginated list of Cloud Subnets", + "operationId": "list_provider_cloud_subnets", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "cloud_subnets" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CloudSubnet" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Cloud Subnet", + "description": "Creates a new Cloud Subnet", + "operationId": "create_provider_cloud_subnet", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudSubnet" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudSubnet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Subnets", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_subnets", + "tags": [ + "Cloud Subnets" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/cloud_subnets/{s_id}": { + "get": { + "summary": "Get a Cloud Subnet", + "description": "Returns a single Cloud Subnet by ID", + "operationId": "get_provider_cloud_subnet", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudSubnet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Cloud Subnet", + "description": "Updates an existing Cloud Subnet", + "operationId": "put_provider_cloud_subnet", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudSubnet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudSubnet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Cloud Subnet", + "description": "Updates an existing Cloud Subnet", + "operationId": "update_provider_cloud_subnet", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudSubnet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudSubnet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Cloud Subnet", + "description": "Updates an existing Cloud Subnet", + "operationId": "patch_provider_cloud_subnet", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudSubnet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudSubnet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Cloud Subnet", + "description": "Deletes an existing Cloud Subnet", + "operationId": "delete_provider_cloud_subnet", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Subnets", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_subnets", + "tags": [ + "Cloud Subnets" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/cloud_tenants": { + "get": { + "summary": "List Cloud Tenants for Provider", + "description": "Returns a paginated list of Cloud Tenants", + "operationId": "list_provider_cloud_tenants", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "cloud_tenants" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CloudTenant" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Cloud Tenant", + "description": "Creates a new Cloud Tenant", + "operationId": "create_provider_cloud_tenant", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudTenant" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudTenant" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Tenants", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_tenants", + "tags": [ + "Cloud Tenants" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/cloud_tenants/{s_id}": { + "get": { + "summary": "Get a Cloud Tenant", + "description": "Returns a single Cloud Tenant by ID", + "operationId": "get_provider_cloud_tenant", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudTenant" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Cloud Tenant", + "description": "Updates an existing Cloud Tenant", + "operationId": "put_provider_cloud_tenant", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudTenant" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudTenant" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Cloud Tenant", + "description": "Updates an existing Cloud Tenant", + "operationId": "update_provider_cloud_tenant", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudTenant" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudTenant" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Cloud Tenant", + "description": "Updates an existing Cloud Tenant", + "operationId": "patch_provider_cloud_tenant", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CloudTenant" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudTenant" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Cloud Tenant", + "description": "Deletes an existing Cloud Tenant", + "operationId": "delete_provider_cloud_tenant", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Tenants", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_tenants", + "tags": [ + "Cloud Tenants" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/cloud_volume_types": { + "get": { + "summary": "List Cloud Volume Types for Provider", + "description": "Returns a paginated list of Cloud Volume Types", + "operationId": "list_provider_cloud_volume_types", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "cloud_volume_types" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CloudVolumeType" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Volume Types", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_volume_types", + "tags": [ + "Cloud Volume Types" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/cloud_volume_types/{s_id}": { + "get": { + "summary": "Get a Cloud Volume Type", + "description": "Returns a single Cloud Volume Type by ID", + "operationId": "get_provider_cloud_volume_type", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CloudVolumeType" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Volume Types", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_volume_types", + "tags": [ + "Cloud Volume Types" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/custom_attributes": { + "get": { + "summary": "List Custom Attributes for Provider", + "description": "Returns a paginated list of Custom Attributes", + "operationId": "list_provider_custom_attributes", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "custom_attributes" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CustomAttribute" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Custom Attribute", + "description": "Creates a new Custom Attribute", + "operationId": "create_provider_custom_attribute", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomAttribute" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Attributes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_attributes", + "tags": [ + "Custom Attributes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/custom_attributes/{s_id}": { + "get": { + "summary": "Get a Custom Attribute", + "description": "Returns a single Custom Attribute by ID", + "operationId": "get_provider_custom_attribute", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Custom Attribute", + "description": "Updates an existing Custom Attribute", + "operationId": "update_provider_custom_attribute", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomAttribute" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Custom Attribute", + "description": "Deletes an existing Custom Attribute", + "operationId": "delete_provider_custom_attribute", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Attributes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_attributes", + "tags": [ + "Custom Attributes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/load_balancers": { + "get": { + "summary": "List Load Balancers for Provider", + "description": "Returns a paginated list of Load Balancers", + "operationId": "list_provider_load_balancers", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "load_balancers" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/LoadBalancer" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Load Balancer", + "description": "Creates a new Load Balancer", + "operationId": "create_provider_load_balancer", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/LoadBalancer" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/LoadBalancer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Load Balancers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_load_balancers", + "tags": [ + "Load Balancers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/load_balancers/{s_id}": { + "get": { + "summary": "Get a Load Balancer", + "description": "Returns a single Load Balancer by ID", + "operationId": "get_provider_load_balancer", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/LoadBalancer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Load Balancer", + "description": "Updates an existing Load Balancer", + "operationId": "update_provider_load_balancer", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/LoadBalancer" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/LoadBalancer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Load Balancers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_load_balancers", + "tags": [ + "Load Balancers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/metric_rollups": { + "get": { + "summary": "List Metric Rollups for Provider", + "description": "Returns a paginated list of Metric Rollups", + "operationId": "list_provider_metric_rollups", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "metric_rollups" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MetricRollup" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Metric Rollups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_metric_rollups", + "tags": [ + "Metric Rollups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/metric_rollups/{s_id}": { + "get": { + "summary": "Get a Metric Rollup", + "description": "Returns a single Metric Rollup by ID", + "operationId": "get_provider_metric_rollup", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MetricRollup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Metric Rollups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_metric_rollups", + "tags": [ + "Metric Rollups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/network_services": { + "get": { + "summary": "List Network_Services for Provider", + "description": "Returns a paginated list of Network_Services", + "operationId": "list_provider_network_services", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "network_services" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/NetworkService" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Network_Service", + "description": "Creates a new Network_Service", + "operationId": "create_provider_network_service", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/NetworkService" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/NetworkService" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Network_Services", + "description": "Returns available HTTP methods and actions", + "operationId": "options_network_services", + "tags": [ + "Network_Services" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/network_services/{s_id}": { + "get": { + "summary": "Get a Network_Service", + "description": "Returns a single Network_Service by ID", + "operationId": "get_provider_network_service", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/NetworkService" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Network_Service", + "description": "Updates an existing Network_Service", + "operationId": "update_provider_network_service", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/NetworkService" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/NetworkService" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Network_Service", + "description": "Deletes an existing Network_Service", + "operationId": "delete_provider_network_service", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Network_Services", + "description": "Returns available HTTP methods and actions", + "operationId": "options_network_services", + "tags": [ + "Network_Services" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/security_groups": { + "get": { + "summary": "List Security Groups for Provider", + "description": "Returns a paginated list of Security Groups", + "operationId": "list_provider_security_groups", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "security_groups" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/SecurityGroup" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Security Group", + "description": "Creates a new Security Group", + "operationId": "create_provider_security_group", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/SecurityGroup" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security Groups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_groups", + "tags": [ + "Security Groups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/security_groups/{s_id}": { + "get": { + "summary": "Get a Security Group", + "description": "Returns a single Security Group by ID", + "operationId": "get_provider_security_group", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Security Group", + "description": "Updates an existing Security Group", + "operationId": "update_provider_security_group", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/SecurityGroup" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security Groups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_groups", + "tags": [ + "Security Groups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/security_policies": { + "get": { + "summary": "List Security_Policies for Provider", + "description": "Returns a paginated list of Security_Policies", + "operationId": "list_provider_security_policies", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "security_policies" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/SecurityPolicy" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Security_Policy", + "description": "Creates a new Security_Policy", + "operationId": "create_provider_security_policy", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/SecurityPolicy" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security_Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_policies", + "tags": [ + "Security_Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/security_policies/{s_id}": { + "get": { + "summary": "Get a Security_Policy", + "description": "Returns a single Security_Policy by ID", + "operationId": "get_provider_security_policy", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Security_Policy", + "description": "Updates an existing Security_Policy", + "operationId": "update_provider_security_policy", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/SecurityPolicy" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Security_Policy", + "description": "Deletes an existing Security_Policy", + "operationId": "delete_provider_security_policy", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security_Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_policies", + "tags": [ + "Security_Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/security_policy_rules": { + "get": { + "summary": "List Security_Policy_Rules for Provider", + "description": "Returns a paginated list of Security_Policy_Rules", + "operationId": "list_provider_security_policy_rules", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "security_policy_rules" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/SecurityPolicyRule" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Security_Policy_Rule", + "description": "Creates a new Security_Policy_Rule", + "operationId": "create_provider_security_policy_rule", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/SecurityPolicyRule" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityPolicyRule" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security_Policy_Rules", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_policy_rules", + "tags": [ + "Security_Policy_Rules" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/security_policy_rules/{s_id}": { + "get": { + "summary": "Get a Security_Policy_Rule", + "description": "Returns a single Security_Policy_Rule by ID", + "operationId": "get_provider_security_policy_rule", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityPolicyRule" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Security_Policy_Rule", + "description": "Updates an existing Security_Policy_Rule", + "operationId": "update_provider_security_policy_rule", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/SecurityPolicyRule" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityPolicyRule" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Security_Policy_Rule", + "description": "Deletes an existing Security_Policy_Rule", + "operationId": "delete_provider_security_policy_rule", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security_Policy_Rules", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_policy_rules", + "tags": [ + "Security_Policy_Rules" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/vms": { + "get": { + "summary": "List Virtual Machines for Provider", + "description": "Returns a paginated list of Virtual Machines", + "operationId": "list_provider_vms", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "vms" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Vm" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Virtual Machine", + "description": "Creates a new Virtual Machine", + "operationId": "create_provider_vm", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Vm" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Vm" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Virtual Machines", + "description": "Returns available HTTP methods and actions", + "operationId": "options_vms", + "tags": [ + "Virtual Machines" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/vms/{s_id}": { + "get": { + "summary": "Get a Virtual Machine", + "description": "Returns a single Virtual Machine by ID", + "operationId": "get_provider_vm", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Vm" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Virtual Machine", + "description": "Updates an existing Virtual Machine", + "operationId": "update_provider_vm", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Vm" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Vm" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Virtual Machine", + "description": "Deletes an existing Virtual Machine", + "operationId": "delete_provider_vm", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Virtual Machines", + "description": "Returns available HTTP methods and actions", + "operationId": "options_vms", + "tags": [ + "Virtual Machines" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/flavors": { + "get": { + "summary": "List Flavors for Provider", + "description": "Returns a paginated list of Flavors", + "operationId": "list_provider_flavors", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "flavors" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Flavor" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Flavor", + "description": "Creates a new Flavor", + "operationId": "create_provider_flavor", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Flavor" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Flavor" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Flavors", + "description": "Returns available HTTP methods and actions", + "operationId": "options_flavors", + "tags": [ + "Flavors" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/flavors/{s_id}": { + "get": { + "summary": "Get a Flavor", + "description": "Returns a single Flavor by ID", + "operationId": "get_provider_flavor", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Flavor" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Flavor", + "description": "Updates an existing Flavor", + "operationId": "update_provider_flavor", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Flavor" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Flavor" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Flavor", + "description": "Deletes an existing Flavor", + "operationId": "delete_provider_flavor", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Flavors", + "description": "Returns available HTTP methods and actions", + "operationId": "options_flavors", + "tags": [ + "Flavors" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/cloud_templates": { + "get": { + "summary": "List Cloud Templates for Provider", + "description": "Returns a paginated list of Cloud Templates", + "operationId": "list_provider_cloud_templates", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "cloud_templates" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Cloud Template", + "description": "Creates a new Cloud Template", + "operationId": "create_provider_cloud_template", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Templates", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_templates", + "tags": [ + "Cloud Templates" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/cloud_templates/{s_id}": { + "get": { + "summary": "Get a Cloud Template", + "description": "Returns a single Cloud Template by ID", + "operationId": "get_provider_cloud_template", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Cloud Template", + "description": "Updates an existing Cloud Template", + "operationId": "put_provider_cloud_template", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Cloud Template", + "description": "Updates an existing Cloud Template", + "operationId": "update_provider_cloud_template", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Cloud Template", + "description": "Updates an existing Cloud Template", + "operationId": "patch_provider_cloud_template", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Cloud Template", + "description": "Deletes an existing Cloud Template", + "operationId": "delete_provider_cloud_template", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Cloud Templates", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_templates", + "tags": [ + "Cloud Templates" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/folders": { + "get": { + "summary": "List Folders for Provider", + "description": "Returns a paginated list of Folders", + "operationId": "list_provider_folders", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "folders" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/EmsFolder" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Folders", + "description": "Returns available HTTP methods and actions", + "operationId": "options_folders", + "tags": [ + "Folders" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/folders/{s_id}": { + "get": { + "summary": "Get a Folder", + "description": "Returns a single Folder by ID", + "operationId": "get_provider_folder", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/EmsFolder" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Folders", + "description": "Returns available HTTP methods and actions", + "operationId": "options_folders", + "tags": [ + "Folders" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/networks": { + "get": { + "summary": "List Networks for Provider", + "description": "Returns a paginated list of Networks", + "operationId": "list_provider_networks", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "networks" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Network" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Networks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_networks", + "tags": [ + "Networks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/networks/{s_id}": { + "get": { + "summary": "Get a Network", + "description": "Returns a single Network by ID", + "operationId": "get_provider_network", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Network" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Networks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_networks", + "tags": [ + "Networks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/lans": { + "get": { + "summary": "List Lans for Provider", + "description": "Returns a paginated list of Lans", + "operationId": "list_provider_lans", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "lans" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Lan" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Lans", + "description": "Returns available HTTP methods and actions", + "operationId": "options_lans", + "tags": [ + "Lans" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/lans/{s_id}": { + "get": { + "summary": "Get a Lan", + "description": "Returns a single Lan by ID", + "operationId": "get_provider_lan", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Lan" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Lans", + "description": "Returns available HTTP methods and actions", + "operationId": "options_lans", + "tags": [ + "Lans" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/provision_dialogs": { + "get": { + "summary": "List Provisioning Dialogs", + "description": "Returns a paginated list of Provisioning Dialogs", + "operationId": "list_provision_dialogs", + "tags": [ + "Provisioning Dialogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "provision_dialogs" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqDialog" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Provisioning Dialog", + "description": "Creates a new Provisioning Dialog", + "operationId": "create_provision_dialog", + "tags": [ + "Provisioning Dialogs" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqDialog" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqDialog" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Provisioning Dialogs", + "description": "Returns available HTTP methods and actions", + "operationId": "options_provision_dialogs", + "tags": [ + "Provisioning Dialogs" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/provision_dialogs/{c_id}": { + "get": { + "summary": "Get a Provisioning Dialog", + "description": "Returns a single Provisioning Dialog by ID", + "operationId": "get_provision_dialog", + "tags": [ + "Provisioning Dialogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqDialog" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Provisioning Dialog", + "description": "Updates an existing Provisioning Dialog", + "operationId": "update_provision_dialog", + "tags": [ + "Provisioning Dialogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqDialog" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqDialog" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Provisioning Dialogs", + "description": "Returns available HTTP methods and actions", + "operationId": "options_provision_dialogs", + "tags": [ + "Provisioning Dialogs" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/provision_requests": { + "get": { + "summary": "List Provision Requests", + "description": "Returns a paginated list of Provision Requests", + "operationId": "list_provision_requests", + "tags": [ + "Provision Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "provision_requests" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqProvisionRequest" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Provision Request", + "description": "Creates a new Provision Request", + "operationId": "create_provision_request", + "tags": [ + "Provision Requests" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqProvisionRequest" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqProvisionRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Provision Requests", + "description": "Returns available HTTP methods and actions", + "operationId": "options_provision_requests", + "tags": [ + "Provision Requests" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/provision_requests/{c_id}": { + "get": { + "summary": "Get a Provision Request", + "description": "Returns a single Provision Request by ID", + "operationId": "get_provision_request", + "tags": [ + "Provision Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqProvisionRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Provision Request", + "description": "Updates an existing Provision Request", + "operationId": "update_provision_request", + "tags": [ + "Provision Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqProvisionRequest" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqProvisionRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Provision Requests", + "description": "Returns available HTTP methods and actions", + "operationId": "options_provision_requests", + "tags": [ + "Provision Requests" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/provision_requests/{c_id}/request_tasks": { + "get": { + "summary": "List Request Tasks for Provision Request", + "description": "Returns a paginated list of Request Tasks", + "operationId": "list_provision_request_request_tasks", + "tags": [ + "Provision Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "request_tasks" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqRequestTask" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Request Task", + "description": "Creates a new Request Task", + "operationId": "create_provision_request_request_task", + "tags": [ + "Provision Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqRequestTask" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRequestTask" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Request Tasks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_request_tasks", + "tags": [ + "Request Tasks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/provision_requests/{c_id}/request_tasks/{s_id}": { + "get": { + "summary": "Get a Request Task", + "description": "Returns a single Request Task by ID", + "operationId": "get_provision_request_request_task", + "tags": [ + "Provision Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRequestTask" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Request Task", + "description": "Updates an existing Request Task", + "operationId": "update_provision_request_request_task", + "tags": [ + "Provision Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqRequestTask" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRequestTask" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Request Tasks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_request_tasks", + "tags": [ + "Request Tasks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/pxe_image_types": { + "get": { + "summary": "List PXE Image Types", + "description": "Returns a paginated list of PXE Image Types", + "operationId": "list_pxe_image_types", + "tags": [ + "PXE Image Types" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "pxe_image_types" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/PxeImageType" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a PXE Image Type", + "description": "Creates a new PXE Image Type", + "operationId": "create_pxe_image_type", + "tags": [ + "PXE Image Types" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PxeImageType" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeImageType" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for PXE Image Types", + "description": "Returns available HTTP methods and actions", + "operationId": "options_pxe_image_types", + "tags": [ + "PXE Image Types" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/pxe_image_types/{c_id}": { + "get": { + "summary": "Get a PXE Image Type", + "description": "Returns a single PXE Image Type by ID", + "operationId": "get_pxe_image_type", + "tags": [ + "PXE Image Types" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeImageType" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a PXE Image Type", + "description": "Updates an existing PXE Image Type", + "operationId": "update_pxe_image_type", + "tags": [ + "PXE Image Types" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PxeImageType" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeImageType" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a PXE Image Type", + "description": "Updates an existing PXE Image Type", + "operationId": "update_pxe_image_type", + "tags": [ + "PXE Image Types" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PxeImageType" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeImageType" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a PXE Image Type", + "description": "Updates an existing PXE Image Type", + "operationId": "update_pxe_image_type", + "tags": [ + "PXE Image Types" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PxeImageType" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeImageType" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a PXE Image Type", + "description": "Deletes an existing PXE Image Type", + "operationId": "delete_pxe_image_type", + "tags": [ + "PXE Image Types" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for PXE Image Types", + "description": "Returns available HTTP methods and actions", + "operationId": "options_pxe_image_types", + "tags": [ + "PXE Image Types" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/pxe_images": { + "get": { + "summary": "List PXE Images", + "description": "Returns a paginated list of PXE Images", + "operationId": "list_pxe_images", + "tags": [ + "PXE Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "pxe_images" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/PxeImage" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for PXE Images", + "description": "Returns available HTTP methods and actions", + "operationId": "options_pxe_images", + "tags": [ + "PXE Images" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/pxe_images/{c_id}": { + "get": { + "summary": "Get a PXE Image", + "description": "Returns a single PXE Image by ID", + "operationId": "get_pxe_image", + "tags": [ + "PXE Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeImage" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for PXE Images", + "description": "Returns available HTTP methods and actions", + "operationId": "options_pxe_images", + "tags": [ + "PXE Images" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/pxe_images/{c_id}/customization_templates": { + "get": { + "summary": "List Customization Template for PXE Image", + "description": "Returns a paginated list of Customization Template", + "operationId": "list_pxe_image_customization_templates", + "tags": [ + "PXE Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "customization_templates" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CustomizationTemplate" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Customization Template", + "description": "Creates a new Customization Template", + "operationId": "create_pxe_image_customization_template", + "tags": [ + "PXE Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomizationTemplate" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomizationTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Customization Template", + "description": "Returns available HTTP methods and actions", + "operationId": "options_customization_templates", + "tags": [ + "Customization Template" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/pxe_images/{c_id}/customization_templates/{s_id}": { + "get": { + "summary": "Get a Customization Template", + "description": "Returns a single Customization Template by ID", + "operationId": "get_pxe_image_customization_template", + "tags": [ + "PXE Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomizationTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Customization Template", + "description": "Updates an existing Customization Template", + "operationId": "put_pxe_image_customization_template", + "tags": [ + "PXE Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomizationTemplate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomizationTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Customization Template", + "description": "Updates an existing Customization Template", + "operationId": "update_pxe_image_customization_template", + "tags": [ + "PXE Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomizationTemplate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomizationTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Customization Template", + "description": "Updates an existing Customization Template", + "operationId": "patch_pxe_image_customization_template", + "tags": [ + "PXE Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomizationTemplate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomizationTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Customization Template", + "description": "Deletes an existing Customization Template", + "operationId": "delete_pxe_image_customization_template", + "tags": [ + "PXE Images" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Customization Template", + "description": "Returns available HTTP methods and actions", + "operationId": "options_customization_templates", + "tags": [ + "Customization Template" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/pxe_menus": { + "get": { + "summary": "List PXE Menus", + "description": "Returns a paginated list of PXE Menus", + "operationId": "list_pxe_menus", + "tags": [ + "PXE Menus" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "pxe_menus" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/PxeMenu" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a PXE Menu", + "description": "Creates a new PXE Menu", + "operationId": "create_pxe_menu", + "tags": [ + "PXE Menus" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PxeMenu" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeMenu" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for PXE Menus", + "description": "Returns available HTTP methods and actions", + "operationId": "options_pxe_menus", + "tags": [ + "PXE Menus" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/pxe_menus/{c_id}": { + "get": { + "summary": "Get a PXE Menu", + "description": "Returns a single PXE Menu by ID", + "operationId": "get_pxe_menu", + "tags": [ + "PXE Menus" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeMenu" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a PXE Menu", + "description": "Updates an existing PXE Menu", + "operationId": "update_pxe_menu", + "tags": [ + "PXE Menus" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PxeMenu" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeMenu" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a PXE Menu", + "description": "Updates an existing PXE Menu", + "operationId": "update_pxe_menu", + "tags": [ + "PXE Menus" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PxeMenu" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeMenu" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a PXE Menu", + "description": "Updates an existing PXE Menu", + "operationId": "update_pxe_menu", + "tags": [ + "PXE Menus" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PxeMenu" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeMenu" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a PXE Menu", + "description": "Deletes an existing PXE Menu", + "operationId": "delete_pxe_menu", + "tags": [ + "PXE Menus" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for PXE Menus", + "description": "Returns available HTTP methods and actions", + "operationId": "options_pxe_menus", + "tags": [ + "PXE Menus" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/pxe_servers": { + "get": { + "summary": "List PXE Servers", + "description": "Returns a paginated list of PXE Servers", + "operationId": "list_pxe_servers", + "tags": [ + "PXE Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "pxe_servers" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/PxeServer" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a PXE Server", + "description": "Creates a new PXE Server", + "operationId": "create_pxe_server", + "tags": [ + "PXE Servers" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PxeServer" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeServer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for PXE Servers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_pxe_servers", + "tags": [ + "PXE Servers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/pxe_servers/{c_id}": { + "get": { + "summary": "Get a PXE Server", + "description": "Returns a single PXE Server by ID", + "operationId": "get_pxe_server", + "tags": [ + "PXE Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeServer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a PXE Server", + "description": "Updates an existing PXE Server", + "operationId": "update_pxe_server", + "tags": [ + "PXE Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PxeServer" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeServer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a PXE Server", + "description": "Updates an existing PXE Server", + "operationId": "update_pxe_server", + "tags": [ + "PXE Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PxeServer" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeServer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a PXE Server", + "description": "Updates an existing PXE Server", + "operationId": "update_pxe_server", + "tags": [ + "PXE Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PxeServer" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeServer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a PXE Server", + "description": "Deletes an existing PXE Server", + "operationId": "delete_pxe_server", + "tags": [ + "PXE Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for PXE Servers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_pxe_servers", + "tags": [ + "PXE Servers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/pxe_servers/{c_id}/pxe_images": { + "get": { + "summary": "List PXE Images for PXE Server", + "description": "Returns a paginated list of PXE Images", + "operationId": "list_pxe_server_pxe_images", + "tags": [ + "PXE Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "pxe_images" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/PxeImage" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for PXE Images", + "description": "Returns available HTTP methods and actions", + "operationId": "options_pxe_images", + "tags": [ + "PXE Images" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/pxe_servers/{c_id}/pxe_images/{s_id}": { + "get": { + "summary": "Get a PXE Image", + "description": "Returns a single PXE Image by ID", + "operationId": "get_pxe_server_pxe_image", + "tags": [ + "PXE Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeImage" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for PXE Images", + "description": "Returns available HTTP methods and actions", + "operationId": "options_pxe_images", + "tags": [ + "PXE Images" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/pxe_servers/{c_id}/pxe_menus": { + "get": { + "summary": "List PXE Menus for PXE Server", + "description": "Returns a paginated list of PXE Menus", + "operationId": "list_pxe_server_pxe_menus", + "tags": [ + "PXE Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "pxe_menus" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/PxeMenu" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a PXE Menu", + "description": "Creates a new PXE Menu", + "operationId": "create_pxe_server_pxe_menu", + "tags": [ + "PXE Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PxeMenu" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeMenu" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for PXE Menus", + "description": "Returns available HTTP methods and actions", + "operationId": "options_pxe_menus", + "tags": [ + "PXE Menus" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/pxe_servers/{c_id}/pxe_menus/{s_id}": { + "get": { + "summary": "Get a PXE Menu", + "description": "Returns a single PXE Menu by ID", + "operationId": "get_pxe_server_pxe_menu", + "tags": [ + "PXE Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeMenu" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a PXE Menu", + "description": "Updates an existing PXE Menu", + "operationId": "put_pxe_server_pxe_menu", + "tags": [ + "PXE Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PxeMenu" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeMenu" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a PXE Menu", + "description": "Updates an existing PXE Menu", + "operationId": "update_pxe_server_pxe_menu", + "tags": [ + "PXE Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PxeMenu" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeMenu" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a PXE Menu", + "description": "Updates an existing PXE Menu", + "operationId": "patch_pxe_server_pxe_menu", + "tags": [ + "PXE Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/PxeMenu" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/PxeMenu" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a PXE Menu", + "description": "Deletes an existing PXE Menu", + "operationId": "delete_pxe_server_pxe_menu", + "tags": [ + "PXE Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for PXE Menus", + "description": "Returns available HTTP methods and actions", + "operationId": "options_pxe_menus", + "tags": [ + "PXE Menus" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/rates": { + "get": { + "summary": "List Chargeback Rates", + "description": "Returns a paginated list of Chargeback Rates", + "operationId": "list_rates", + "tags": [ + "Chargeback Rates" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "rates" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ChargebackRateDetail" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Chargeback Rate", + "description": "Creates a new Chargeback Rate", + "operationId": "create_rate", + "tags": [ + "Chargeback Rates" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ChargebackRateDetail" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ChargebackRateDetail" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Chargeback Rates", + "description": "Returns available HTTP methods and actions", + "operationId": "options_rates", + "tags": [ + "Chargeback Rates" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/rates/{c_id}": { + "get": { + "summary": "Get a Chargeback Rate", + "description": "Returns a single Chargeback Rate by ID", + "operationId": "get_rate", + "tags": [ + "Chargeback Rates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ChargebackRateDetail" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Chargeback Rate", + "description": "Updates an existing Chargeback Rate", + "operationId": "update_rate", + "tags": [ + "Chargeback Rates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ChargebackRateDetail" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ChargebackRateDetail" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Chargeback Rate", + "description": "Updates an existing Chargeback Rate", + "operationId": "update_rate", + "tags": [ + "Chargeback Rates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ChargebackRateDetail" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ChargebackRateDetail" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Chargeback Rate", + "description": "Updates an existing Chargeback Rate", + "operationId": "update_rate", + "tags": [ + "Chargeback Rates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ChargebackRateDetail" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ChargebackRateDetail" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Chargeback Rate", + "description": "Deletes an existing Chargeback Rate", + "operationId": "delete_rate", + "tags": [ + "Chargeback Rates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Chargeback Rates", + "description": "Returns available HTTP methods and actions", + "operationId": "options_rates", + "tags": [ + "Chargeback Rates" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/regions": { + "get": { + "summary": "List Regions", + "description": "Returns a paginated list of Regions", + "operationId": "list_regions", + "tags": [ + "Regions" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "regions" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqRegion" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Region", + "description": "Creates a new Region", + "operationId": "create_region", + "tags": [ + "Regions" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqRegion" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRegion" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Regions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_regions", + "tags": [ + "Regions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/regions/{c_id}": { + "get": { + "summary": "Get a Region", + "description": "Returns a single Region by ID", + "operationId": "get_region", + "tags": [ + "Regions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRegion" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Region", + "description": "Updates an existing Region", + "operationId": "update_region", + "tags": [ + "Regions" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqRegion" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRegion" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Regions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_regions", + "tags": [ + "Regions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/reports": { + "get": { + "summary": "List Reports", + "description": "Returns a paginated list of Reports", + "operationId": "list_reports", + "tags": [ + "Reports" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "reports" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqReport" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Report", + "description": "Creates a new Report", + "operationId": "create_report", + "tags": [ + "Reports" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqReport" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqReport" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Reports", + "description": "Returns available HTTP methods and actions", + "operationId": "options_reports", + "tags": [ + "Reports" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/reports/{c_id}": { + "get": { + "summary": "Get a Report", + "description": "Returns a single Report by ID", + "operationId": "get_report", + "tags": [ + "Reports" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqReport" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Report", + "description": "Updates an existing Report", + "operationId": "update_report", + "tags": [ + "Reports" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqReport" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqReport" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Reports", + "description": "Returns available HTTP methods and actions", + "operationId": "options_reports", + "tags": [ + "Reports" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/reports/{c_id}/results": { + "get": { + "summary": "List Report Results for Report", + "description": "Returns a paginated list of Report Results", + "operationId": "list_report_results", + "tags": [ + "Reports" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "results" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqReportResult" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Report Result", + "description": "Creates a new Report Result", + "operationId": "create_report_result", + "tags": [ + "Reports" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqReportResult" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqReportResult" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Report Results", + "description": "Returns available HTTP methods and actions", + "operationId": "options_results", + "tags": [ + "Report Results" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/reports/{c_id}/results/{s_id}": { + "get": { + "summary": "Get a Report Result", + "description": "Returns a single Report Result by ID", + "operationId": "get_report_result", + "tags": [ + "Reports" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqReportResult" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Report Result", + "description": "Updates an existing Report Result", + "operationId": "update_report_result", + "tags": [ + "Reports" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqReportResult" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqReportResult" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Report Result", + "description": "Deletes an existing Report Result", + "operationId": "delete_report_result", + "tags": [ + "Reports" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Report Results", + "description": "Returns available HTTP methods and actions", + "operationId": "options_results", + "tags": [ + "Report Results" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/reports/{c_id}/schedules": { + "get": { + "summary": "List Schedules for Report", + "description": "Returns a paginated list of Schedules", + "operationId": "list_report_schedules", + "tags": [ + "Reports" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "schedules" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqSchedule" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Schedule", + "description": "Creates a new Schedule", + "operationId": "create_report_schedule", + "tags": [ + "Reports" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqSchedule" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqSchedule" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Schedules", + "description": "Returns available HTTP methods and actions", + "operationId": "options_schedules", + "tags": [ + "Schedules" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/reports/{c_id}/schedules/{s_id}": { + "get": { + "summary": "Get a Schedule", + "description": "Returns a single Schedule by ID", + "operationId": "get_report_schedule", + "tags": [ + "Reports" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqSchedule" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Schedule", + "description": "Updates an existing Schedule", + "operationId": "update_report_schedule", + "tags": [ + "Reports" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqSchedule" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqSchedule" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Schedule", + "description": "Deletes an existing Schedule", + "operationId": "delete_report_schedule", + "tags": [ + "Reports" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Schedules", + "description": "Returns available HTTP methods and actions", + "operationId": "options_schedules", + "tags": [ + "Schedules" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/request_tasks": { + "get": { + "summary": "List Request Tasks", + "description": "Returns a paginated list of Request Tasks", + "operationId": "list_request_tasks", + "tags": [ + "Request Tasks" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "request_tasks" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqRequestTask" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Request Task", + "description": "Creates a new Request Task", + "operationId": "create_request_task", + "tags": [ + "Request Tasks" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqRequestTask" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRequestTask" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Request Tasks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_request_tasks", + "tags": [ + "Request Tasks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/request_tasks/{c_id}": { + "get": { + "summary": "Get a Request Task", + "description": "Returns a single Request Task by ID", + "operationId": "get_request_task", + "tags": [ + "Request Tasks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRequestTask" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Request Task", + "description": "Updates an existing Request Task", + "operationId": "update_request_task", + "tags": [ + "Request Tasks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqRequestTask" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRequestTask" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Request Tasks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_request_tasks", + "tags": [ + "Request Tasks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/requests": { + "get": { + "summary": "List Requests", + "description": "Returns a paginated list of Requests", + "operationId": "list_requests", + "tags": [ + "Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "requests" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqRequest" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Request", + "description": "Creates a new Request", + "operationId": "create_request", + "tags": [ + "Requests" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqRequest" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Requests", + "description": "Returns available HTTP methods and actions", + "operationId": "options_requests", + "tags": [ + "Requests" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/requests/{c_id}": { + "get": { + "summary": "Get a Request", + "description": "Returns a single Request by ID", + "operationId": "get_request", + "tags": [ + "Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Request", + "description": "Updates an existing Request", + "operationId": "update_request", + "tags": [ + "Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqRequest" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Requests", + "description": "Returns available HTTP methods and actions", + "operationId": "options_requests", + "tags": [ + "Requests" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/requests/{c_id}/request_tasks": { + "get": { + "summary": "List Request Tasks for Request", + "description": "Returns a paginated list of Request Tasks", + "operationId": "list_request_request_tasks", + "tags": [ + "Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "request_tasks" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqRequestTask" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Request Task", + "description": "Creates a new Request Task", + "operationId": "create_request_request_task", + "tags": [ + "Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqRequestTask" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRequestTask" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Request Tasks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_request_tasks", + "tags": [ + "Request Tasks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/requests/{c_id}/request_tasks/{s_id}": { + "get": { + "summary": "Get a Request Task", + "description": "Returns a single Request Task by ID", + "operationId": "get_request_request_task", + "tags": [ + "Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRequestTask" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Request Task", + "description": "Updates an existing Request Task", + "operationId": "update_request_request_task", + "tags": [ + "Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqRequestTask" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRequestTask" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Request Tasks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_request_tasks", + "tags": [ + "Request Tasks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/resource_pools": { + "get": { + "summary": "List Resource Pools", + "description": "Returns a paginated list of Resource Pools", + "operationId": "list_resource_pools", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "resource_pools" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ResourcePool" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Resource Pool", + "description": "Creates a new Resource Pool", + "operationId": "create_resource_pool", + "tags": [ + "Resource Pools" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ResourcePool" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ResourcePool" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Resource Pools", + "description": "Returns available HTTP methods and actions", + "operationId": "options_resource_pools", + "tags": [ + "Resource Pools" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/resource_pools/{c_id}": { + "get": { + "summary": "Get a Resource Pool", + "description": "Returns a single Resource Pool by ID", + "operationId": "get_resource_pool", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ResourcePool" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Resource Pool", + "description": "Updates an existing Resource Pool", + "operationId": "update_resource_pool", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ResourcePool" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ResourcePool" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Resource Pools", + "description": "Returns available HTTP methods and actions", + "operationId": "options_resource_pools", + "tags": [ + "Resource Pools" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/resource_pools/{c_id}/tags": { + "get": { + "summary": "List Tags for Resource Pool", + "description": "Returns a paginated list of Tags", + "operationId": "list_resource_pool_tags", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_resource_pool_tag", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/resource_pools/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_resource_pool_tag", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_resource_pool_tag", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_resource_pool_tag", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/resource_pools/{c_id}/policies": { + "get": { + "summary": "List Policies for Resource Pool", + "description": "Returns a paginated list of Policies", + "operationId": "list_resource_pool_policies", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "policies" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqPolicy" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Policy", + "description": "Creates a new Policy", + "operationId": "create_resource_pool_policy", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicy" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policies", + "tags": [ + "Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/resource_pools/{c_id}/policies/{s_id}": { + "get": { + "summary": "Get a Policy", + "description": "Returns a single Policy by ID", + "operationId": "get_resource_pool_policy", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Policy", + "description": "Updates an existing Policy", + "operationId": "update_resource_pool_policy", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicy" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Policy", + "description": "Deletes an existing Policy", + "operationId": "delete_resource_pool_policy", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policies", + "tags": [ + "Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/resource_pools/{c_id}/policy_profiles": { + "get": { + "summary": "List Policy Profiles for Resource Pool", + "description": "Returns a paginated list of Policy Profiles", + "operationId": "list_resource_pool_policy_profiles", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "policy_profiles" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqPolicySet" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Policy Profile", + "description": "Creates a new Policy Profile", + "operationId": "create_resource_pool_policy_profile", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policy Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policy_profiles", + "tags": [ + "Policy Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/resource_pools/{c_id}/policy_profiles/{s_id}": { + "get": { + "summary": "Get a Policy Profile", + "description": "Returns a single Policy Profile by ID", + "operationId": "get_resource_pool_policy_profile", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "put_resource_pool_policy_profile", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "update_resource_pool_policy_profile", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "patch_resource_pool_policy_profile", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Policy Profile", + "description": "Deletes an existing Policy Profile", + "operationId": "delete_resource_pool_policy_profile", + "tags": [ + "Resource Pools" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policy Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policy_profiles", + "tags": [ + "Policy Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/results": { + "get": { + "summary": "List Report Results", + "description": "Returns a paginated list of Report Results", + "operationId": "list_results", + "tags": [ + "Report Results" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "results" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqReportResult" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Report Result", + "description": "Creates a new Report Result", + "operationId": "create_result", + "tags": [ + "Report Results" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqReportResult" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqReportResult" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Report Results", + "description": "Returns available HTTP methods and actions", + "operationId": "options_results", + "tags": [ + "Report Results" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/results/{c_id}": { + "get": { + "summary": "Get a Report Result", + "description": "Returns a single Report Result by ID", + "operationId": "get_result", + "tags": [ + "Report Results" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqReportResult" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Report Result", + "description": "Updates an existing Report Result", + "operationId": "update_result", + "tags": [ + "Report Results" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqReportResult" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqReportResult" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Report Result", + "description": "Deletes an existing Report Result", + "operationId": "delete_result", + "tags": [ + "Report Results" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Report Results", + "description": "Returns available HTTP methods and actions", + "operationId": "options_results", + "tags": [ + "Report Results" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/roles": { + "get": { + "summary": "List Roles", + "description": "Returns a paginated list of Roles", + "operationId": "list_roles", + "tags": [ + "Roles" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "roles" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqUserRole" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Role", + "description": "Creates a new Role", + "operationId": "create_role", + "tags": [ + "Roles" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqUserRole" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqUserRole" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Roles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_roles", + "tags": [ + "Roles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/roles/{c_id}": { + "get": { + "summary": "Get a Role", + "description": "Returns a single Role by ID", + "operationId": "get_role", + "tags": [ + "Roles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqUserRole" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Role", + "description": "Updates an existing Role", + "operationId": "update_role", + "tags": [ + "Roles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqUserRole" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqUserRole" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Role", + "description": "Deletes an existing Role", + "operationId": "delete_role", + "tags": [ + "Roles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Roles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_roles", + "tags": [ + "Roles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/roles/{c_id}/features": { + "get": { + "summary": "List Product Features for Role", + "description": "Returns a paginated list of Product Features", + "operationId": "list_role_features", + "tags": [ + "Roles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "features" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqProductFeature" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Product Feature", + "description": "Creates a new Product Feature", + "operationId": "create_role_feature", + "tags": [ + "Roles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqProductFeature" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqProductFeature" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Product Features", + "description": "Returns available HTTP methods and actions", + "operationId": "options_features", + "tags": [ + "Product Features" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/roles/{c_id}/features/{s_id}": { + "get": { + "summary": "Get a Product Feature", + "description": "Returns a single Product Feature by ID", + "operationId": "get_role_feature", + "tags": [ + "Roles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqProductFeature" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Product Feature", + "description": "Updates an existing Product Feature", + "operationId": "update_role_feature", + "tags": [ + "Roles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqProductFeature" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqProductFeature" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Product Features", + "description": "Returns available HTTP methods and actions", + "operationId": "options_features", + "tags": [ + "Product Features" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/search_filters": { + "get": { + "summary": "List Filters", + "description": "Returns a paginated list of Filters", + "operationId": "list_search_filters", + "tags": [ + "Filters" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "search_filters" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqSearch" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Filter", + "description": "Creates a new Filter", + "operationId": "create_search_filter", + "tags": [ + "Filters" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqSearch" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqSearch" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Filters", + "description": "Returns available HTTP methods and actions", + "operationId": "options_search_filters", + "tags": [ + "Filters" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/search_filters/{c_id}": { + "get": { + "summary": "Get a Filter", + "description": "Returns a single Filter by ID", + "operationId": "get_search_filter", + "tags": [ + "Filters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqSearch" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Filter", + "description": "Updates an existing Filter", + "operationId": "update_search_filter", + "tags": [ + "Filters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqSearch" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqSearch" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Filter", + "description": "Deletes an existing Filter", + "operationId": "delete_search_filter", + "tags": [ + "Filters" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Filters", + "description": "Returns available HTTP methods and actions", + "operationId": "options_search_filters", + "tags": [ + "Filters" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/security_groups": { + "get": { + "summary": "List Security Groups", + "description": "Returns a paginated list of Security Groups", + "operationId": "list_security_groups", + "tags": [ + "Security Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "security_groups" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/SecurityGroup" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Security Group", + "description": "Creates a new Security Group", + "operationId": "create_security_group", + "tags": [ + "Security Groups" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/SecurityGroup" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security Groups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_groups", + "tags": [ + "Security Groups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/security_groups/{c_id}": { + "get": { + "summary": "Get a Security Group", + "description": "Returns a single Security Group by ID", + "operationId": "get_security_group", + "tags": [ + "Security Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Security Group", + "description": "Executes a custom action on a specific Security Group", + "operationId": "action_security_group", + "tags": [ + "Security Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/SecurityGroup" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security Groups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_groups", + "tags": [ + "Security Groups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/security_groups/{c_id}/tags": { + "get": { + "summary": "List Tags for Security Group", + "description": "Returns a paginated list of Tags", + "operationId": "list_security_group_tags", + "tags": [ + "Security Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_security_group_tag", + "tags": [ + "Security Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/security_groups/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_security_group_tag", + "tags": [ + "Security Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_security_group_tag", + "tags": [ + "Security Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_security_group_tag", + "tags": [ + "Security Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/security_policies": { + "get": { + "summary": "List Security_Policies", + "description": "Returns a paginated list of Security_Policies", + "operationId": "list_security_policies", + "tags": [ + "Security_Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "security_policies" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/SecurityPolicy" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Security_Policy", + "description": "Creates a new Security_Policy", + "operationId": "create_security_policy", + "tags": [ + "Security_Policies" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/SecurityPolicy" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security_Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_policies", + "tags": [ + "Security_Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/security_policies/{c_id}": { + "get": { + "summary": "Get a Security_Policy", + "description": "Returns a single Security_Policy by ID", + "operationId": "get_security_policy", + "tags": [ + "Security_Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Security_Policy", + "description": "Executes a custom action on a specific Security_Policy", + "operationId": "action_security_policy", + "tags": [ + "Security_Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/SecurityPolicy" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Security_Policy", + "description": "Deletes an existing Security_Policy", + "operationId": "delete_security_policy", + "tags": [ + "Security_Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security_Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_policies", + "tags": [ + "Security_Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/security_policies/{c_id}/tags": { + "get": { + "summary": "List Tags for Security_Policy", + "description": "Returns a paginated list of Tags", + "operationId": "list_security_policy_tags", + "tags": [ + "Security_Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_security_policy_tag", + "tags": [ + "Security_Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/security_policies/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_security_policy_tag", + "tags": [ + "Security_Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_security_policy_tag", + "tags": [ + "Security_Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_security_policy_tag", + "tags": [ + "Security_Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/security_policies/{c_id}/security_policy_rules": { + "get": { + "summary": "List Security_Policy_Rules for Security_Policy", + "description": "Returns a paginated list of Security_Policy_Rules", + "operationId": "list_security_policy_security_policy_rules", + "tags": [ + "Security_Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "security_policy_rules" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/SecurityPolicyRule" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Security_Policy_Rule", + "description": "Creates a new Security_Policy_Rule", + "operationId": "create_security_policy_security_policy_rule", + "tags": [ + "Security_Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/SecurityPolicyRule" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityPolicyRule" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security_Policy_Rules", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_policy_rules", + "tags": [ + "Security_Policy_Rules" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/security_policies/{c_id}/security_policy_rules/{s_id}": { + "get": { + "summary": "Get a Security_Policy_Rule", + "description": "Returns a single Security_Policy_Rule by ID", + "operationId": "get_security_policy_security_policy_rule", + "tags": [ + "Security_Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityPolicyRule" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Security_Policy_Rule", + "description": "Updates an existing Security_Policy_Rule", + "operationId": "update_security_policy_security_policy_rule", + "tags": [ + "Security_Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/SecurityPolicyRule" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityPolicyRule" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Security_Policy_Rule", + "description": "Deletes an existing Security_Policy_Rule", + "operationId": "delete_security_policy_security_policy_rule", + "tags": [ + "Security_Policies" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security_Policy_Rules", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_policy_rules", + "tags": [ + "Security_Policy_Rules" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/security_policy_rules": { + "get": { + "summary": "List Security_Policy_Rules", + "description": "Returns a paginated list of Security_Policy_Rules", + "operationId": "list_security_policy_rules", + "tags": [ + "Security_Policy_Rules" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "security_policy_rules" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/SecurityPolicyRule" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Security_Policy_Rule", + "description": "Creates a new Security_Policy_Rule", + "operationId": "create_security_policy_rule", + "tags": [ + "Security_Policy_Rules" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/SecurityPolicyRule" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityPolicyRule" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security_Policy_Rules", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_policy_rules", + "tags": [ + "Security_Policy_Rules" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/security_policy_rules/{c_id}": { + "get": { + "summary": "Get a Security_Policy_Rule", + "description": "Returns a single Security_Policy_Rule by ID", + "operationId": "get_security_policy_rule", + "tags": [ + "Security_Policy_Rules" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityPolicyRule" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Security_Policy_Rule", + "description": "Executes a custom action on a specific Security_Policy_Rule", + "operationId": "action_security_policy_rule", + "tags": [ + "Security_Policy_Rules" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/SecurityPolicyRule" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityPolicyRule" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Security_Policy_Rule", + "description": "Deletes an existing Security_Policy_Rule", + "operationId": "delete_security_policy_rule", + "tags": [ + "Security_Policy_Rules" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security_Policy_Rules", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_policy_rules", + "tags": [ + "Security_Policy_Rules" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/security_policy_rules/{c_id}/tags": { + "get": { + "summary": "List Tags for Security_Policy_Rule", + "description": "Returns a paginated list of Tags", + "operationId": "list_security_policy_rule_tags", + "tags": [ + "Security_Policy_Rules" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_security_policy_rule_tag", + "tags": [ + "Security_Policy_Rules" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/security_policy_rules/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_security_policy_rule_tag", + "tags": [ + "Security_Policy_Rules" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_security_policy_rule_tag", + "tags": [ + "Security_Policy_Rules" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_security_policy_rule_tag", + "tags": [ + "Security_Policy_Rules" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/servers": { + "get": { + "summary": "List EVM Servers", + "description": "Returns a paginated list of EVM Servers", + "operationId": "list_servers", + "tags": [ + "EVM Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "servers" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqServer" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a EVM Server", + "description": "Creates a new EVM Server", + "operationId": "create_server", + "tags": [ + "EVM Servers" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqServer" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqServer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for EVM Servers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_servers", + "tags": [ + "EVM Servers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/servers/{c_id}": { + "get": { + "summary": "Get a EVM Server", + "description": "Returns a single EVM Server by ID", + "operationId": "get_server", + "tags": [ + "EVM Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqServer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a EVM Server", + "description": "Updates an existing EVM Server", + "operationId": "update_server", + "tags": [ + "EVM Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqServer" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqServer" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a EVM Server", + "description": "Deletes an existing EVM Server", + "operationId": "delete_server", + "tags": [ + "EVM Servers" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for EVM Servers", + "description": "Returns available HTTP methods and actions", + "operationId": "options_servers", + "tags": [ + "EVM Servers" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_catalogs": { + "get": { + "summary": "List Service Catalogs", + "description": "Returns a paginated list of Service Catalogs", + "operationId": "list_service_catalogs", + "tags": [ + "Service Catalogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "service_catalogs" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ServiceTemplateCatalog" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Service Catalog", + "description": "Creates a new Service Catalog", + "operationId": "create_service_catalog", + "tags": [ + "Service Catalogs" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceTemplateCatalog" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplateCatalog" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Catalogs", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_catalogs", + "tags": [ + "Service Catalogs" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_catalogs/{c_id}": { + "get": { + "summary": "Get a Service Catalog", + "description": "Returns a single Service Catalog by ID", + "operationId": "get_service_catalog", + "tags": [ + "Service Catalogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplateCatalog" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Service Catalog", + "description": "Updates an existing Service Catalog", + "operationId": "update_service_catalog", + "tags": [ + "Service Catalogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceTemplateCatalog" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplateCatalog" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Service Catalog", + "description": "Updates an existing Service Catalog", + "operationId": "update_service_catalog", + "tags": [ + "Service Catalogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceTemplateCatalog" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplateCatalog" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Service Catalog", + "description": "Updates an existing Service Catalog", + "operationId": "update_service_catalog", + "tags": [ + "Service Catalogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceTemplateCatalog" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplateCatalog" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Service Catalog", + "description": "Deletes an existing Service Catalog", + "operationId": "delete_service_catalog", + "tags": [ + "Service Catalogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Catalogs", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_catalogs", + "tags": [ + "Service Catalogs" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_catalogs/{c_id}/service_templates": { + "get": { + "summary": "List Service Templates for Service Catalog", + "description": "Returns a paginated list of Service Templates", + "operationId": "list_service_catalog_service_templates", + "tags": [ + "Service Catalogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "service_templates" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ServiceTemplate" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Service Template", + "description": "Creates a new Service Template", + "operationId": "create_service_catalog_service_template", + "tags": [ + "Service Catalogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceTemplate" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Templates", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_templates", + "tags": [ + "Service Templates" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_catalogs/{c_id}/service_templates/{s_id}": { + "get": { + "summary": "Get a Service Template", + "description": "Returns a single Service Template by ID", + "operationId": "get_service_catalog_service_template", + "tags": [ + "Service Catalogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Service Template", + "description": "Updates an existing Service Template", + "operationId": "put_service_catalog_service_template", + "tags": [ + "Service Catalogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceTemplate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Service Template", + "description": "Updates an existing Service Template", + "operationId": "update_service_catalog_service_template", + "tags": [ + "Service Catalogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceTemplate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Service Template", + "description": "Updates an existing Service Template", + "operationId": "patch_service_catalog_service_template", + "tags": [ + "Service Catalogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceTemplate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Service Template", + "description": "Deletes an existing Service Template", + "operationId": "delete_service_catalog_service_template", + "tags": [ + "Service Catalogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Templates", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_templates", + "tags": [ + "Service Templates" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_dialogs": { + "get": { + "summary": "List Service Dialogs", + "description": "Returns a paginated list of Service Dialogs", + "operationId": "list_service_dialogs", + "tags": [ + "Service Dialogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "service_dialogs" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Dialog" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Service Dialog", + "description": "Creates a new Service Dialog", + "operationId": "create_service_dialog", + "tags": [ + "Service Dialogs" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Dialog" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Dialog" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Dialogs", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_dialogs", + "tags": [ + "Service Dialogs" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_dialogs/{c_id}": { + "get": { + "summary": "Get a Service Dialog", + "description": "Returns a single Service Dialog by ID", + "operationId": "get_service_dialog", + "tags": [ + "Service Dialogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Dialog" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Service Dialog", + "description": "Updates an existing Service Dialog", + "operationId": "update_service_dialog", + "tags": [ + "Service Dialogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Dialog" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Dialog" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Service Dialog", + "description": "Deletes an existing Service Dialog", + "operationId": "delete_service_dialog", + "tags": [ + "Service Dialogs" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Dialogs", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_dialogs", + "tags": [ + "Service Dialogs" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_offerings": { + "get": { + "summary": "List Service Offerings", + "description": "Returns a paginated list of Service Offerings", + "operationId": "list_service_offerings", + "tags": [ + "Service Offerings" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "service_offerings" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ServiceOffering" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Offerings", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_offerings", + "tags": [ + "Service Offerings" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_offerings/{c_id}": { + "get": { + "summary": "Get a Service Offering", + "description": "Returns a single Service Offering by ID", + "operationId": "get_service_offering", + "tags": [ + "Service Offerings" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceOffering" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Offerings", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_offerings", + "tags": [ + "Service Offerings" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_offerings/{c_id}/service_parameters_sets": { + "get": { + "summary": "List Service Parameters Sets for Service Offering", + "description": "Returns a paginated list of Service Parameters Sets", + "operationId": "list_service_offering_service_parameters_sets", + "tags": [ + "Service Offerings" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "service_parameters_sets" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ServiceParametersSet" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Parameters Sets", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_parameters_sets", + "tags": [ + "Service Parameters Sets" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_offerings/{c_id}/service_parameters_sets/{s_id}": { + "get": { + "summary": "Get a Service Parameters Set", + "description": "Returns a single Service Parameters Set by ID", + "operationId": "get_service_offering_service_parameters_set", + "tags": [ + "Service Offerings" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceParametersSet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Parameters Sets", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_parameters_sets", + "tags": [ + "Service Parameters Sets" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_orders": { + "get": { + "summary": "List Service Orders", + "description": "Returns a paginated list of Service Orders", + "operationId": "list_service_orders", + "tags": [ + "Service Orders" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "service_orders" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ServiceOrder" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Service Order", + "description": "Creates a new Service Order", + "operationId": "create_service_order", + "tags": [ + "Service Orders" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceOrder" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceOrder" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Orders", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_orders", + "tags": [ + "Service Orders" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_orders/{c_id}": { + "get": { + "summary": "Get a Service Order", + "description": "Returns a single Service Order by ID", + "operationId": "get_service_order", + "tags": [ + "Service Orders" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceOrder" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Service Order", + "description": "Updates an existing Service Order", + "operationId": "update_service_order", + "tags": [ + "Service Orders" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceOrder" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceOrder" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Service Order", + "description": "Updates an existing Service Order", + "operationId": "update_service_order", + "tags": [ + "Service Orders" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceOrder" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceOrder" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Service Order", + "description": "Updates an existing Service Order", + "operationId": "update_service_order", + "tags": [ + "Service Orders" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceOrder" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceOrder" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Service Order", + "description": "Deletes an existing Service Order", + "operationId": "delete_service_order", + "tags": [ + "Service Orders" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Orders", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_orders", + "tags": [ + "Service Orders" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_orders/{c_id}/service_requests": { + "get": { + "summary": "List Service Requests for Service Order", + "description": "Returns a paginated list of Service Requests", + "operationId": "list_service_order_service_requests", + "tags": [ + "Service Orders" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "service_requests" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Service Request", + "description": "Creates a new Service Request", + "operationId": "create_service_order_service_request", + "tags": [ + "Service Orders" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Requests", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_requests", + "tags": [ + "Service Requests" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_orders/{c_id}/service_requests/{s_id}": { + "get": { + "summary": "Get a Service Request", + "description": "Returns a single Service Request by ID", + "operationId": "get_service_order_service_request", + "tags": [ + "Service Orders" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Service Request", + "description": "Updates an existing Service Request", + "operationId": "update_service_order_service_request", + "tags": [ + "Service Orders" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Service Request", + "description": "Deletes an existing Service Request", + "operationId": "delete_service_order_service_request", + "tags": [ + "Service Orders" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Requests", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_requests", + "tags": [ + "Service Requests" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_parameters_sets": { + "get": { + "summary": "List Service Parameters Sets", + "description": "Returns a paginated list of Service Parameters Sets", + "operationId": "list_service_parameters_sets", + "tags": [ + "Service Parameters Sets" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "service_parameters_sets" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ServiceParametersSet" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Parameters Sets", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_parameters_sets", + "tags": [ + "Service Parameters Sets" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_parameters_sets/{c_id}": { + "get": { + "summary": "Get a Service Parameters Set", + "description": "Returns a single Service Parameters Set by ID", + "operationId": "get_service_parameters_set", + "tags": [ + "Service Parameters Sets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceParametersSet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Parameters Sets", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_parameters_sets", + "tags": [ + "Service Parameters Sets" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_requests": { + "get": { + "summary": "List Service Requests", + "description": "Returns a paginated list of Service Requests", + "operationId": "list_service_requests", + "tags": [ + "Service Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "service_requests" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Service Request", + "description": "Creates a new Service Request", + "operationId": "create_service_request", + "tags": [ + "Service Requests" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Requests", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_requests", + "tags": [ + "Service Requests" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_requests/{c_id}": { + "get": { + "summary": "Get a Service Request", + "description": "Returns a single Service Request by ID", + "operationId": "get_service_request", + "tags": [ + "Service Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Service Request", + "description": "Updates an existing Service Request", + "operationId": "update_service_request", + "tags": [ + "Service Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Service Request", + "description": "Deletes an existing Service Request", + "operationId": "delete_service_request", + "tags": [ + "Service Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Requests", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_requests", + "tags": [ + "Service Requests" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_requests/{c_id}/request_tasks": { + "get": { + "summary": "List Request Tasks for Service Request", + "description": "Returns a paginated list of Request Tasks", + "operationId": "list_service_request_request_tasks", + "tags": [ + "Service Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "request_tasks" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqRequestTask" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Request Task", + "description": "Creates a new Request Task", + "operationId": "create_service_request_request_task", + "tags": [ + "Service Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqRequestTask" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRequestTask" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Request Tasks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_request_tasks", + "tags": [ + "Request Tasks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_requests/{c_id}/request_tasks/{s_id}": { + "get": { + "summary": "Get a Request Task", + "description": "Returns a single Request Task by ID", + "operationId": "get_service_request_request_task", + "tags": [ + "Service Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRequestTask" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Request Task", + "description": "Updates an existing Request Task", + "operationId": "update_service_request_request_task", + "tags": [ + "Service Requests" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqRequestTask" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqRequestTask" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Request Tasks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_request_tasks", + "tags": [ + "Request Tasks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_templates": { + "get": { + "summary": "List Service Templates", + "description": "Returns a paginated list of Service Templates", + "operationId": "list_service_templates", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "service_templates" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ServiceTemplate" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Service Template", + "description": "Creates a new Service Template", + "operationId": "create_service_template", + "tags": [ + "Service Templates" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceTemplate" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Templates", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_templates", + "tags": [ + "Service Templates" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_templates/{c_id}": { + "get": { + "summary": "Get a Service Template", + "description": "Returns a single Service Template by ID", + "operationId": "get_service_template", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Service Template", + "description": "Updates an existing Service Template", + "operationId": "update_service_template", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceTemplate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Service Template", + "description": "Executes a custom action on a specific Service Template", + "operationId": "action_service_template", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/ServiceTemplate" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Service Template", + "description": "Updates an existing Service Template", + "operationId": "update_service_template", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceTemplate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Service Template", + "description": "Deletes an existing Service Template", + "operationId": "delete_service_template", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Templates", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_templates", + "tags": [ + "Service Templates" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_templates/{c_id}/resource_actions": { + "get": { + "summary": "List Resource Actions for Service Template", + "description": "Returns a paginated list of Resource Actions", + "operationId": "list_service_template_resource_actions", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "resource_actions" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ResourceAction" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Resource Actions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_resource_actions", + "tags": [ + "Resource Actions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_templates/{c_id}/resource_actions/{s_id}": { + "get": { + "summary": "Get a Resource Action", + "description": "Returns a single Resource Action by ID", + "operationId": "get_service_template_resource_action", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ResourceAction" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Resource Actions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_resource_actions", + "tags": [ + "Resource Actions" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_templates/{c_id}/tags": { + "get": { + "summary": "List Tags for Service Template", + "description": "Returns a paginated list of Tags", + "operationId": "list_service_template_tags", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_service_template_tag", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_templates/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_service_template_tag", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_service_template_tag", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_service_template_tag", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_templates/{c_id}/schedules": { + "get": { + "summary": "List Schedules for Service Template", + "description": "Returns a paginated list of Schedules", + "operationId": "list_service_template_schedules", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "schedules" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqSchedule" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Schedule", + "description": "Creates a new Schedule", + "operationId": "create_service_template_schedule", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqSchedule" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqSchedule" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Schedules", + "description": "Returns available HTTP methods and actions", + "operationId": "options_schedules", + "tags": [ + "Schedules" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_templates/{c_id}/schedules/{s_id}": { + "get": { + "summary": "Get a Schedule", + "description": "Returns a single Schedule by ID", + "operationId": "get_service_template_schedule", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqSchedule" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Schedule", + "description": "Updates an existing Schedule", + "operationId": "update_service_template_schedule", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqSchedule" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqSchedule" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Schedule", + "description": "Deletes an existing Schedule", + "operationId": "delete_service_template_schedule", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Schedules", + "description": "Returns available HTTP methods and actions", + "operationId": "options_schedules", + "tags": [ + "Schedules" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_templates/{c_id}/service_requests": { + "get": { + "summary": "List Service Requests for Service Template", + "description": "Returns a paginated list of Service Requests", + "operationId": "list_service_template_service_requests", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "service_requests" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Service Request", + "description": "Creates a new Service Request", + "operationId": "create_service_template_service_request", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Requests", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_requests", + "tags": [ + "Service Requests" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_templates/{c_id}/service_requests/{s_id}": { + "get": { + "summary": "Get a Service Request", + "description": "Returns a single Service Request by ID", + "operationId": "get_service_template_service_request", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Service Request", + "description": "Updates an existing Service Request", + "operationId": "update_service_template_service_request", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Service Request", + "description": "Deletes an existing Service Request", + "operationId": "delete_service_template_service_request", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Requests", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_requests", + "tags": [ + "Service Requests" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_templates/{c_id}/service_dialogs": { + "get": { + "summary": "List Service Dialogs for Service Template", + "description": "Returns a paginated list of Service Dialogs", + "operationId": "list_service_template_service_dialogs", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "service_dialogs" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Dialog" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Service Dialog", + "description": "Creates a new Service Dialog", + "operationId": "create_service_template_service_dialog", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Dialog" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Dialog" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Dialogs", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_dialogs", + "tags": [ + "Service Dialogs" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/service_templates/{c_id}/service_dialogs/{s_id}": { + "get": { + "summary": "Get a Service Dialog", + "description": "Returns a single Service Dialog by ID", + "operationId": "get_service_template_service_dialog", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Dialog" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Service Dialog", + "description": "Updates an existing Service Dialog", + "operationId": "update_service_template_service_dialog", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Dialog" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Dialog" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Service Dialog", + "description": "Deletes an existing Service Dialog", + "operationId": "delete_service_template_service_dialog", + "tags": [ + "Service Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Dialogs", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_dialogs", + "tags": [ + "Service Dialogs" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/services": { + "get": { + "summary": "List Services", + "description": "Returns a paginated list of Services", + "operationId": "list_services", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "services" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Service" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Service", + "description": "Creates a new Service", + "operationId": "create_service", + "tags": [ + "Services" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Service" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Service" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Services", + "description": "Returns available HTTP methods and actions", + "operationId": "options_services", + "tags": [ + "Services" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/services/{c_id}": { + "get": { + "summary": "Get a Service", + "description": "Returns a single Service by ID", + "operationId": "get_service", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Service" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Service", + "description": "Updates an existing Service", + "operationId": "update_service", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Service" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Service" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Service", + "description": "Executes a custom action on a specific Service", + "operationId": "action_service", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/Service" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Service" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Service", + "description": "Updates an existing Service", + "operationId": "update_service", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Service" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Service" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Service", + "description": "Deletes an existing Service", + "operationId": "delete_service", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Services", + "description": "Returns available HTTP methods and actions", + "operationId": "options_services", + "tags": [ + "Services" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/services/{c_id}/tags": { + "get": { + "summary": "List Tags for Service", + "description": "Returns a paginated list of Tags", + "operationId": "list_service_tags", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_service_tag", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/services/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_service_tag", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_service_tag", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_service_tag", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/services/{c_id}/service_dialogs": { + "get": { + "summary": "List Service Dialogs for Service", + "description": "Returns a paginated list of Service Dialogs", + "operationId": "list_service_service_dialogs", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "service_dialogs" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Dialog" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Service Dialog", + "description": "Creates a new Service Dialog", + "operationId": "create_service_service_dialog", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Dialog" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Dialog" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Dialogs", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_dialogs", + "tags": [ + "Service Dialogs" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/services/{c_id}/service_dialogs/{s_id}": { + "get": { + "summary": "Get a Service Dialog", + "description": "Returns a single Service Dialog by ID", + "operationId": "get_service_service_dialog", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Dialog" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Service Dialog", + "description": "Updates an existing Service Dialog", + "operationId": "update_service_service_dialog", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Dialog" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Dialog" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Service Dialog", + "description": "Deletes an existing Service Dialog", + "operationId": "delete_service_service_dialog", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Service Dialogs", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_dialogs", + "tags": [ + "Service Dialogs" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/services/{c_id}/vms": { + "get": { + "summary": "List Virtual Machines for Service", + "description": "Returns a paginated list of Virtual Machines", + "operationId": "list_service_vms", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "vms" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Vm" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Virtual Machine", + "description": "Creates a new Virtual Machine", + "operationId": "create_service_vm", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Vm" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Vm" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Virtual Machines", + "description": "Returns available HTTP methods and actions", + "operationId": "options_vms", + "tags": [ + "Virtual Machines" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/services/{c_id}/vms/{s_id}": { + "get": { + "summary": "Get a Virtual Machine", + "description": "Returns a single Virtual Machine by ID", + "operationId": "get_service_vm", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Vm" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Virtual Machine", + "description": "Updates an existing Virtual Machine", + "operationId": "update_service_vm", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Vm" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Vm" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Virtual Machine", + "description": "Deletes an existing Virtual Machine", + "operationId": "delete_service_vm", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Virtual Machines", + "description": "Returns available HTTP methods and actions", + "operationId": "options_vms", + "tags": [ + "Virtual Machines" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/services/{c_id}/orchestration_stacks": { + "get": { + "summary": "List Orchestration Stacks for Service", + "description": "Returns a paginated list of Orchestration Stacks", + "operationId": "list_service_orchestration_stacks", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "orchestration_stacks" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/OrchestrationStack" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Orchestration Stack", + "description": "Creates a new Orchestration Stack", + "operationId": "create_service_orchestration_stack", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/OrchestrationStack" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/OrchestrationStack" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Orchestration Stacks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_orchestration_stacks", + "tags": [ + "Orchestration Stacks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/services/{c_id}/orchestration_stacks/{s_id}": { + "get": { + "summary": "Get a Orchestration Stack", + "description": "Returns a single Orchestration Stack by ID", + "operationId": "get_service_orchestration_stack", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/OrchestrationStack" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Orchestration Stack", + "description": "Updates an existing Orchestration Stack", + "operationId": "update_service_orchestration_stack", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/OrchestrationStack" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/OrchestrationStack" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Orchestration Stacks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_orchestration_stacks", + "tags": [ + "Orchestration Stacks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/services/{c_id}/metric_rollups": { + "get": { + "summary": "List Metric Rollups for Service", + "description": "Returns a paginated list of Metric Rollups", + "operationId": "list_service_metric_rollups", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "metric_rollups" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MetricRollup" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Metric Rollups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_metric_rollups", + "tags": [ + "Metric Rollups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/services/{c_id}/metric_rollups/{s_id}": { + "get": { + "summary": "Get a Metric Rollup", + "description": "Returns a single Metric Rollup by ID", + "operationId": "get_service_metric_rollup", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MetricRollup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Metric Rollups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_metric_rollups", + "tags": [ + "Metric Rollups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/services/{c_id}/generic_objects": { + "get": { + "summary": "List Generic Objects for Service", + "description": "Returns a paginated list of Generic Objects", + "operationId": "list_service_generic_objects", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "generic_objects" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/GenericObject" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Generic Object", + "description": "Creates a new Generic Object", + "operationId": "create_service_generic_object", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/GenericObject" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/GenericObject" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Generic Objects", + "description": "Returns available HTTP methods and actions", + "operationId": "options_generic_objects", + "tags": [ + "Generic Objects" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/services/{c_id}/generic_objects/{s_id}": { + "get": { + "summary": "Get a Generic Object", + "description": "Returns a single Generic Object by ID", + "operationId": "get_service_generic_object", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/GenericObject" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Generic Object", + "description": "Updates an existing Generic Object", + "operationId": "update_service_generic_object", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/GenericObject" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/GenericObject" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Generic Object", + "description": "Deletes an existing Generic Object", + "operationId": "delete_service_generic_object", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Generic Objects", + "description": "Returns available HTTP methods and actions", + "operationId": "options_generic_objects", + "tags": [ + "Generic Objects" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/services/{c_id}/custom_attributes": { + "get": { + "summary": "List Custom Attributes for Service", + "description": "Returns a paginated list of Custom Attributes", + "operationId": "list_service_custom_attributes", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "custom_attributes" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CustomAttribute" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Custom Attribute", + "description": "Creates a new Custom Attribute", + "operationId": "create_service_custom_attribute", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomAttribute" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Attributes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_attributes", + "tags": [ + "Custom Attributes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/services/{c_id}/custom_attributes/{s_id}": { + "get": { + "summary": "Get a Custom Attribute", + "description": "Returns a single Custom Attribute by ID", + "operationId": "get_service_custom_attribute", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Custom Attribute", + "description": "Updates an existing Custom Attribute", + "operationId": "update_service_custom_attribute", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomAttribute" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Custom Attribute", + "description": "Deletes an existing Custom Attribute", + "operationId": "delete_service_custom_attribute", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Attributes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_attributes", + "tags": [ + "Custom Attributes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/shortcuts": { + "get": { + "summary": "List Shortcuts", + "description": "Returns a paginated list of Shortcuts", + "operationId": "list_shortcuts", + "tags": [ + "Shortcuts" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "shortcuts" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqShortcut" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Shortcuts", + "description": "Returns available HTTP methods and actions", + "operationId": "options_shortcuts", + "tags": [ + "Shortcuts" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/shortcuts/{c_id}": { + "get": { + "summary": "Get a Shortcut", + "description": "Returns a single Shortcut by ID", + "operationId": "get_shortcut", + "tags": [ + "Shortcuts" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqShortcut" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Shortcuts", + "description": "Returns available HTTP methods and actions", + "operationId": "options_shortcuts", + "tags": [ + "Shortcuts" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/storage_resources": { + "get": { + "summary": "List Storage Resources", + "description": "Returns a paginated list of Storage Resources", + "operationId": "list_storage_resources", + "tags": [ + "Storage Resources" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "storage_resources" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/StorageResource" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Storage Resource", + "description": "Creates a new Storage Resource", + "operationId": "create_storage_resource", + "tags": [ + "Storage Resources" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/StorageResource" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/StorageResource" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Storage Resources", + "description": "Returns available HTTP methods and actions", + "operationId": "options_storage_resources", + "tags": [ + "Storage Resources" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/storage_resources/{c_id}": { + "get": { + "summary": "Get a Storage Resource", + "description": "Returns a single Storage Resource by ID", + "operationId": "get_storage_resource", + "tags": [ + "Storage Resources" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/StorageResource" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Storage Resource", + "description": "Updates an existing Storage Resource", + "operationId": "update_storage_resource", + "tags": [ + "Storage Resources" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/StorageResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/StorageResource" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Storage Resources", + "description": "Returns available HTTP methods and actions", + "operationId": "options_storage_resources", + "tags": [ + "Storage Resources" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/storage_services": { + "get": { + "summary": "List Storage Services", + "description": "Returns a paginated list of Storage Services", + "operationId": "list_storage_services", + "tags": [ + "Storage Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "storage_services" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/StorageService" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Storage Service", + "description": "Creates a new Storage Service", + "operationId": "create_storage_service", + "tags": [ + "Storage Services" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/StorageService" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/StorageService" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Storage Services", + "description": "Returns available HTTP methods and actions", + "operationId": "options_storage_services", + "tags": [ + "Storage Services" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/storage_services/{c_id}": { + "get": { + "summary": "Get a Storage Service", + "description": "Returns a single Storage Service by ID", + "operationId": "get_storage_service", + "tags": [ + "Storage Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/StorageService" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Storage Service", + "description": "Updates an existing Storage Service", + "operationId": "update_storage_service", + "tags": [ + "Storage Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/StorageService" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/StorageService" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Storage Service", + "description": "Executes a custom action on a specific Storage Service", + "operationId": "action_storage_service", + "tags": [ + "Storage Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/StorageService" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/StorageService" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Storage Service", + "description": "Updates an existing Storage Service", + "operationId": "update_storage_service", + "tags": [ + "Storage Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/StorageService" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/StorageService" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Storage Service", + "description": "Deletes an existing Storage Service", + "operationId": "delete_storage_service", + "tags": [ + "Storage Services" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Storage Services", + "description": "Returns available HTTP methods and actions", + "operationId": "options_storage_services", + "tags": [ + "Storage Services" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/switches": { + "get": { + "summary": "List Switches", + "description": "Returns a paginated list of Switches", + "operationId": "list_switches", + "tags": [ + "Switches" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "switches" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Switch" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Switch", + "description": "Creates a new Switch", + "operationId": "create_switch", + "tags": [ + "Switches" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Switch" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Switch" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Switches", + "description": "Returns available HTTP methods and actions", + "operationId": "options_switches", + "tags": [ + "Switches" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/switches/{c_id}": { + "get": { + "summary": "Get a Switch", + "description": "Returns a single Switch by ID", + "operationId": "get_switch", + "tags": [ + "Switches" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Switch" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Switch", + "description": "Executes a custom action on a specific Switch", + "operationId": "action_switch", + "tags": [ + "Switches" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/Switch" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Switch" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Switches", + "description": "Returns available HTTP methods and actions", + "operationId": "options_switches", + "tags": [ + "Switches" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/tags": { + "get": { + "summary": "List Tags", + "description": "Returns a paginated list of Tags", + "operationId": "list_tags", + "tags": [ + "Tags" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_tag", + "tags": [ + "Tags" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/tags/{c_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_tag", + "tags": [ + "Tags" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_tag", + "tags": [ + "Tags" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_tag", + "tags": [ + "Tags" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/tasks": { + "get": { + "summary": "List Tasks", + "description": "Returns a paginated list of Tasks", + "operationId": "list_tasks", + "tags": [ + "Tasks" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tasks" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqTask" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Task", + "description": "Creates a new Task", + "operationId": "create_task", + "tags": [ + "Tasks" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqTask" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqTask" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tasks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tasks", + "tags": [ + "Tasks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/tasks/{c_id}": { + "get": { + "summary": "Get a Task", + "description": "Returns a single Task by ID", + "operationId": "get_task", + "tags": [ + "Tasks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqTask" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Task", + "description": "Updates an existing Task", + "operationId": "update_task", + "tags": [ + "Tasks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqTask" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqTask" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Task", + "description": "Deletes an existing Task", + "operationId": "delete_task", + "tags": [ + "Tasks" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tasks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tasks", + "tags": [ + "Tasks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/templates": { + "get": { + "summary": "List Templates", + "description": "Returns a paginated list of Templates", + "operationId": "list_templates", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "templates" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqTemplate" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Template", + "description": "Creates a new Template", + "operationId": "create_template", + "tags": [ + "Templates" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqTemplate" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Templates", + "description": "Returns available HTTP methods and actions", + "operationId": "options_templates", + "tags": [ + "Templates" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/templates/{c_id}": { + "get": { + "summary": "Get a Template", + "description": "Returns a single Template by ID", + "operationId": "get_template", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Template", + "description": "Updates an existing Template", + "operationId": "update_template", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqTemplate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Template", + "description": "Executes a custom action on a specific Template", + "operationId": "action_template", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/MiqTemplate" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Template", + "description": "Updates an existing Template", + "operationId": "update_template", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqTemplate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Template", + "description": "Deletes an existing Template", + "operationId": "delete_template", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Templates", + "description": "Returns available HTTP methods and actions", + "operationId": "options_templates", + "tags": [ + "Templates" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/templates/{c_id}/tags": { + "get": { + "summary": "List Tags for Template", + "description": "Returns a paginated list of Tags", + "operationId": "list_template_tags", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_template_tag", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/templates/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_template_tag", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_template_tag", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_template_tag", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/templates/{c_id}/policies": { + "get": { + "summary": "List Policies for Template", + "description": "Returns a paginated list of Policies", + "operationId": "list_template_policies", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "policies" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqPolicy" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Policy", + "description": "Creates a new Policy", + "operationId": "create_template_policy", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicy" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policies", + "tags": [ + "Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/templates/{c_id}/policies/{s_id}": { + "get": { + "summary": "Get a Policy", + "description": "Returns a single Policy by ID", + "operationId": "get_template_policy", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Policy", + "description": "Updates an existing Policy", + "operationId": "update_template_policy", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicy" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Policy", + "description": "Deletes an existing Policy", + "operationId": "delete_template_policy", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policies", + "tags": [ + "Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/templates/{c_id}/policy_profiles": { + "get": { + "summary": "List Policy Profiles for Template", + "description": "Returns a paginated list of Policy Profiles", + "operationId": "list_template_policy_profiles", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "policy_profiles" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqPolicySet" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Policy Profile", + "description": "Creates a new Policy Profile", + "operationId": "create_template_policy_profile", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policy Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policy_profiles", + "tags": [ + "Policy Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/templates/{c_id}/policy_profiles/{s_id}": { + "get": { + "summary": "Get a Policy Profile", + "description": "Returns a single Policy Profile by ID", + "operationId": "get_template_policy_profile", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "put_template_policy_profile", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "update_template_policy_profile", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "patch_template_policy_profile", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Policy Profile", + "description": "Deletes an existing Policy Profile", + "operationId": "delete_template_policy_profile", + "tags": [ + "Templates" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policy Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policy_profiles", + "tags": [ + "Policy Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/tenant_groups": { + "get": { + "summary": "List Tenant Groups", + "description": "Returns a paginated list of Tenant Groups", + "operationId": "list_tenant_groups", + "tags": [ + "Tenant Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tenant_groups" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqGroup" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tenant Groups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tenant_groups", + "tags": [ + "Tenant Groups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/tenant_groups/{c_id}": { + "get": { + "summary": "Get a Tenant Group", + "description": "Returns a single Tenant Group by ID", + "operationId": "get_tenant_group", + "tags": [ + "Tenant Groups" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tenant Groups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tenant_groups", + "tags": [ + "Tenant Groups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/tenants": { + "get": { + "summary": "List Tenants", + "description": "Returns a paginated list of Tenants", + "operationId": "list_tenants", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tenants" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tenant" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tenant", + "description": "Creates a new Tenant", + "operationId": "create_tenant", + "tags": [ + "Tenants" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tenant" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tenant" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tenants", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tenants", + "tags": [ + "Tenants" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/tenants/{c_id}": { + "get": { + "summary": "Get a Tenant", + "description": "Returns a single Tenant by ID", + "operationId": "get_tenant", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tenant" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Tenant", + "description": "Updates an existing Tenant", + "operationId": "update_tenant", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tenant" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tenant" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Tenant", + "description": "Executes a custom action on a specific Tenant", + "operationId": "action_tenant", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/Tenant" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tenant" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Tenant", + "description": "Updates an existing Tenant", + "operationId": "update_tenant", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tenant" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tenant" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tenant", + "description": "Deletes an existing Tenant", + "operationId": "delete_tenant", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tenants", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tenants", + "tags": [ + "Tenants" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/tenants/{c_id}/custom_button_events": { + "get": { + "summary": "List Custom Button Events for Tenant", + "description": "Returns a paginated list of Custom Button Events", + "operationId": "list_tenant_custom_button_events", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "custom_button_events" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CustomButtonEvent" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Button Events", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_button_events", + "tags": [ + "Custom Button Events" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/tenants/{c_id}/custom_button_events/{s_id}": { + "get": { + "summary": "Get a Custom Button Event", + "description": "Returns a single Custom Button Event by ID", + "operationId": "get_tenant_custom_button_event", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomButtonEvent" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Button Events", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_button_events", + "tags": [ + "Custom Button Events" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/tenants/{c_id}/tags": { + "get": { + "summary": "List Tags for Tenant", + "description": "Returns a paginated list of Tags", + "operationId": "list_tenant_tags", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_tenant_tag", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/tenants/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_tenant_tag", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_tenant_tag", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_tenant_tag", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/tenants/{c_id}/quotas": { + "get": { + "summary": "List TenantQuotas for Tenant", + "description": "Returns a paginated list of TenantQuotas", + "operationId": "list_tenant_quotas", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "quotas" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/TenantQuota" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a TenantQuota", + "description": "Creates a new TenantQuota", + "operationId": "create_tenant_quota", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/TenantQuota" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/TenantQuota" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for TenantQuotas", + "description": "Returns available HTTP methods and actions", + "operationId": "options_quotas", + "tags": [ + "TenantQuotas" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/tenants/{c_id}/quotas/{s_id}": { + "get": { + "summary": "Get a TenantQuota", + "description": "Returns a single TenantQuota by ID", + "operationId": "get_tenant_quota", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/TenantQuota" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a TenantQuota", + "description": "Updates an existing TenantQuota", + "operationId": "put_tenant_quota", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/TenantQuota" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/TenantQuota" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a TenantQuota", + "description": "Updates an existing TenantQuota", + "operationId": "update_tenant_quota", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/TenantQuota" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/TenantQuota" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a TenantQuota", + "description": "Updates an existing TenantQuota", + "operationId": "patch_tenant_quota", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/TenantQuota" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/TenantQuota" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a TenantQuota", + "description": "Deletes an existing TenantQuota", + "operationId": "delete_tenant_quota", + "tags": [ + "Tenants" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for TenantQuotas", + "description": "Returns available HTTP methods and actions", + "operationId": "options_quotas", + "tags": [ + "TenantQuotas" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/time_profiles": { + "get": { + "summary": "List Time Profiles", + "description": "Returns a paginated list of Time Profiles", + "operationId": "list_time_profiles", + "tags": [ + "Time Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "time_profiles" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/TimeProfile" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Time Profile", + "description": "Creates a new Time Profile", + "operationId": "create_time_profile", + "tags": [ + "Time Profiles" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/TimeProfile" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/TimeProfile" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Time Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_time_profiles", + "tags": [ + "Time Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/time_profiles/{c_id}": { + "get": { + "summary": "Get a Time Profile", + "description": "Returns a single Time Profile by ID", + "operationId": "get_time_profile", + "tags": [ + "Time Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/TimeProfile" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Time Profile", + "description": "Updates an existing Time Profile", + "operationId": "update_time_profile", + "tags": [ + "Time Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/TimeProfile" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/TimeProfile" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Time Profile", + "description": "Updates an existing Time Profile", + "operationId": "update_time_profile", + "tags": [ + "Time Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/TimeProfile" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/TimeProfile" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Time Profile", + "description": "Updates an existing Time Profile", + "operationId": "update_time_profile", + "tags": [ + "Time Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/TimeProfile" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/TimeProfile" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Time Profile", + "description": "Deletes an existing Time Profile", + "operationId": "delete_time_profile", + "tags": [ + "Time Profiles" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Time Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_time_profiles", + "tags": [ + "Time Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/users": { + "get": { + "summary": "List Users", + "description": "Returns a paginated list of Users", + "operationId": "list_users", + "tags": [ + "Users" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "users" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/User" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a User", + "description": "Creates a new User", + "operationId": "create_user", + "tags": [ + "Users" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/User" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/User" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Users", + "description": "Returns available HTTP methods and actions", + "operationId": "options_users", + "tags": [ + "Users" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/users/{c_id}": { + "get": { + "summary": "Get a User", + "description": "Returns a single User by ID", + "operationId": "get_user", + "tags": [ + "Users" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/User" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a User", + "description": "Updates an existing User", + "operationId": "update_user", + "tags": [ + "Users" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/User" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/User" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a User", + "description": "Executes a custom action on a specific User", + "operationId": "action_user", + "tags": [ + "Users" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/User" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/User" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a User", + "description": "Updates an existing User", + "operationId": "update_user", + "tags": [ + "Users" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/User" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/User" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a User", + "description": "Deletes an existing User", + "operationId": "delete_user", + "tags": [ + "Users" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Users", + "description": "Returns available HTTP methods and actions", + "operationId": "options_users", + "tags": [ + "Users" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/users/{c_id}/custom_button_events": { + "get": { + "summary": "List Custom Button Events for User", + "description": "Returns a paginated list of Custom Button Events", + "operationId": "list_user_custom_button_events", + "tags": [ + "Users" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "custom_button_events" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CustomButtonEvent" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Button Events", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_button_events", + "tags": [ + "Custom Button Events" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/users/{c_id}/custom_button_events/{s_id}": { + "get": { + "summary": "Get a Custom Button Event", + "description": "Returns a single Custom Button Event by ID", + "operationId": "get_user_custom_button_event", + "tags": [ + "Users" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomButtonEvent" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Button Events", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_button_events", + "tags": [ + "Custom Button Events" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/users/{c_id}/tags": { + "get": { + "summary": "List Tags for User", + "description": "Returns a paginated list of Tags", + "operationId": "list_user_tags", + "tags": [ + "Users" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_user_tag", + "tags": [ + "Users" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/users/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_user_tag", + "tags": [ + "Users" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_user_tag", + "tags": [ + "Users" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_user_tag", + "tags": [ + "Users" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms": { + "get": { + "summary": "List Virtual Machines", + "description": "Returns a paginated list of Virtual Machines", + "operationId": "list_vms", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "vms" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Vm" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Virtual Machine", + "description": "Creates a new Virtual Machine", + "operationId": "create_vm", + "tags": [ + "Virtual Machines" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Vm" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Vm" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Virtual Machines", + "description": "Returns available HTTP methods and actions", + "operationId": "options_vms", + "tags": [ + "Virtual Machines" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}": { + "get": { + "summary": "Get a Virtual Machine", + "description": "Returns a single Virtual Machine by ID", + "operationId": "get_vm", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Vm" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Perform action on a Virtual Machine", + "description": "Executes a custom action on a specific Virtual Machine", + "operationId": "action_vm", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "/components/schemas/Vm" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Vm" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Virtual Machine", + "description": "Deletes an existing Virtual Machine", + "operationId": "delete_vm", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Virtual Machines", + "description": "Returns available HTTP methods and actions", + "operationId": "options_vms", + "tags": [ + "Virtual Machines" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/cdroms": { + "get": { + "summary": "List CD-ROMs for Virtual Machine", + "description": "Returns a paginated list of CD-ROMs", + "operationId": "list_vm_cdroms", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "cdroms" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Disk" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for CD-ROMs", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cdroms", + "tags": [ + "CD-ROMs" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/cdroms/{s_id}": { + "get": { + "summary": "Get a CD-ROM", + "description": "Returns a single CD-ROM by ID", + "operationId": "get_vm_cdrom", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Disk" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for CD-ROMs", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cdroms", + "tags": [ + "CD-ROMs" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/disks": { + "get": { + "summary": "List Disks for Virtual Machine", + "description": "Returns a paginated list of Disks", + "operationId": "list_vm_disks", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "disks" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Disk" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Disks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_disks", + "tags": [ + "Disks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/disks/{s_id}": { + "get": { + "summary": "Get a Disk", + "description": "Returns a single Disk by ID", + "operationId": "get_vm_disk", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Disk" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Disks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_disks", + "tags": [ + "Disks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/tags": { + "get": { + "summary": "List Tags for Virtual Machine", + "description": "Returns a paginated list of Tags", + "operationId": "list_vm_tags", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_vm_tag", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/tags/{s_id}": { + "get": { + "summary": "Get a Tag", + "description": "Returns a single Tag by ID", + "operationId": "get_vm_tag", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_vm_tag", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Tag" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_vm_tag", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/policies": { + "get": { + "summary": "List Policies for Virtual Machine", + "description": "Returns a paginated list of Policies", + "operationId": "list_vm_policies", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "policies" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqPolicy" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Policy", + "description": "Creates a new Policy", + "operationId": "create_vm_policy", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicy" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policies", + "tags": [ + "Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/policies/{s_id}": { + "get": { + "summary": "Get a Policy", + "description": "Returns a single Policy by ID", + "operationId": "get_vm_policy", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Policy", + "description": "Updates an existing Policy", + "operationId": "update_vm_policy", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicy" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Policy", + "description": "Deletes an existing Policy", + "operationId": "delete_vm_policy", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policies", + "tags": [ + "Policies" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/policy_profiles": { + "get": { + "summary": "List Policy Profiles for Virtual Machine", + "description": "Returns a paginated list of Policy Profiles", + "operationId": "list_vm_policy_profiles", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "policy_profiles" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqPolicySet" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Policy Profile", + "description": "Creates a new Policy Profile", + "operationId": "create_vm_policy_profile", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policy Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policy_profiles", + "tags": [ + "Policy Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/policy_profiles/{s_id}": { + "get": { + "summary": "Get a Policy Profile", + "description": "Returns a single Policy Profile by ID", + "operationId": "get_vm_policy_profile", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "put_vm_policy_profile", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "update_vm_policy_profile", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "patch_vm_policy_profile", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Policy Profile", + "description": "Deletes an existing Policy Profile", + "operationId": "delete_vm_policy_profile", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Policy Profiles", + "description": "Returns available HTTP methods and actions", + "operationId": "options_policy_profiles", + "tags": [ + "Policy Profiles" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/accounts": { + "get": { + "summary": "List Accounts for Virtual Machine", + "description": "Returns a paginated list of Accounts", + "operationId": "list_vm_accounts", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "accounts" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Account" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Accounts", + "description": "Returns available HTTP methods and actions", + "operationId": "options_accounts", + "tags": [ + "Accounts" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/accounts/{s_id}": { + "get": { + "summary": "Get a Account", + "description": "Returns a single Account by ID", + "operationId": "get_vm_account", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Account" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Accounts", + "description": "Returns available HTTP methods and actions", + "operationId": "options_accounts", + "tags": [ + "Accounts" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/compliances": { + "get": { + "summary": "List Compliances for Virtual Machine", + "description": "Returns a paginated list of Compliances", + "operationId": "list_vm_compliances", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "compliances" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Compliance" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Compliances", + "description": "Returns available HTTP methods and actions", + "operationId": "options_compliances", + "tags": [ + "Compliances" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/compliances/{s_id}": { + "get": { + "summary": "Get a Compliance", + "description": "Returns a single Compliance by ID", + "operationId": "get_vm_compliance", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Compliance" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Compliances", + "description": "Returns available HTTP methods and actions", + "operationId": "options_compliances", + "tags": [ + "Compliances" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/custom_attributes": { + "get": { + "summary": "List Custom Attributes for Virtual Machine", + "description": "Returns a paginated list of Custom Attributes", + "operationId": "list_vm_custom_attributes", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "custom_attributes" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/CustomAttribute" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Custom Attribute", + "description": "Creates a new Custom Attribute", + "operationId": "create_vm_custom_attribute", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomAttribute" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Attributes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_attributes", + "tags": [ + "Custom Attributes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/custom_attributes/{s_id}": { + "get": { + "summary": "Get a Custom Attribute", + "description": "Returns a single Custom Attribute by ID", + "operationId": "get_vm_custom_attribute", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Custom Attribute", + "description": "Updates an existing Custom Attribute", + "operationId": "update_vm_custom_attribute", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/CustomAttribute" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Custom Attribute", + "description": "Deletes an existing Custom Attribute", + "operationId": "delete_vm_custom_attribute", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Custom Attributes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_attributes", + "tags": [ + "Custom Attributes" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/security_groups": { + "get": { + "summary": "List Security Groups for Virtual Machine", + "description": "Returns a paginated list of Security Groups", + "operationId": "list_vm_security_groups", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "security_groups" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/SecurityGroup" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Security Group", + "description": "Creates a new Security Group", + "operationId": "create_vm_security_group", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/SecurityGroup" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security Groups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_groups", + "tags": [ + "Security Groups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/security_groups/{s_id}": { + "get": { + "summary": "Get a Security Group", + "description": "Returns a single Security Group by ID", + "operationId": "get_vm_security_group", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Security Group", + "description": "Updates an existing Security Group", + "operationId": "update_vm_security_group", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/SecurityGroup" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/SecurityGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Security Groups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_groups", + "tags": [ + "Security Groups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/software": { + "get": { + "summary": "List Software for Virtual Machine", + "description": "Returns a paginated list of Software", + "operationId": "list_vm_software", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "software" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/GuestApplication" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Software", + "description": "Returns available HTTP methods and actions", + "operationId": "options_software", + "tags": [ + "Software" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/software/{s_id}": { + "get": { + "summary": "Get a Software", + "description": "Returns a single Software by ID", + "operationId": "get_vm_software", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/GuestApplication" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Software", + "description": "Returns available HTTP methods and actions", + "operationId": "options_software", + "tags": [ + "Software" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/snapshots": { + "get": { + "summary": "List Snapshots for Virtual Machine", + "description": "Returns a paginated list of Snapshots", + "operationId": "list_vm_snapshots", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "snapshots" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Snapshot" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Snapshot", + "description": "Creates a new Snapshot", + "operationId": "create_vm_snapshot", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Snapshot" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Snapshot" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Snapshots", + "description": "Returns available HTTP methods and actions", + "operationId": "options_snapshots", + "tags": [ + "Snapshots" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/snapshots/{s_id}": { + "get": { + "summary": "Get a Snapshot", + "description": "Returns a single Snapshot by ID", + "operationId": "get_vm_snapshot", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Snapshot" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Snapshot", + "description": "Updates an existing Snapshot", + "operationId": "update_vm_snapshot", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Snapshot" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Snapshot" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Snapshot", + "description": "Deletes an existing Snapshot", + "operationId": "delete_vm_snapshot", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Snapshots", + "description": "Returns available HTTP methods and actions", + "operationId": "options_snapshots", + "tags": [ + "Snapshots" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/metrics": { + "get": { + "summary": "List Metrics for Virtual Machine", + "description": "Returns a paginated list of Metrics", + "operationId": "list_vm_metrics", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "metrics" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Metric" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Metrics", + "description": "Returns available HTTP methods and actions", + "operationId": "options_metrics", + "tags": [ + "Metrics" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/metrics/{s_id}": { + "get": { + "summary": "Get a Metric", + "description": "Returns a single Metric by ID", + "operationId": "get_vm_metric", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Metric" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Metrics", + "description": "Returns available HTTP methods and actions", + "operationId": "options_metrics", + "tags": [ + "Metrics" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/metric_rollups": { + "get": { + "summary": "List Metric Rollups for Virtual Machine", + "description": "Returns a paginated list of Metric Rollups", + "operationId": "list_vm_metric_rollups", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "metric_rollups" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MetricRollup" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Metric Rollups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_metric_rollups", + "tags": [ + "Metric Rollups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/vms/{c_id}/metric_rollups/{s_id}": { + "get": { + "summary": "Get a Metric Rollup", + "description": "Returns a single Metric Rollup by ID", + "operationId": "get_vm_metric_rollup", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/subResourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MetricRollup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Metric Rollups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_metric_rollups", + "tags": [ + "Metric Rollups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/volume_mappings": { + "get": { + "summary": "List Volume Mappings", + "description": "Returns a paginated list of Volume Mappings", + "operationId": "list_volume_mappings", + "tags": [ + "Volume Mappings" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "volume_mappings" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/VolumeMapping" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Volume Mapping", + "description": "Creates a new Volume Mapping", + "operationId": "create_volume_mapping", + "tags": [ + "Volume Mappings" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/VolumeMapping" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/VolumeMapping" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Volume Mappings", + "description": "Returns available HTTP methods and actions", + "operationId": "options_volume_mappings", + "tags": [ + "Volume Mappings" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/volume_mappings/{c_id}": { + "get": { + "summary": "Get a Volume Mapping", + "description": "Returns a single Volume Mapping by ID", + "operationId": "get_volume_mapping", + "tags": [ + "Volume Mappings" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/VolumeMapping" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Volume Mapping", + "description": "Updates an existing Volume Mapping", + "operationId": "update_volume_mapping", + "tags": [ + "Volume Mappings" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/VolumeMapping" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/VolumeMapping" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Volume Mapping", + "description": "Deletes an existing Volume Mapping", + "operationId": "delete_volume_mapping", + "tags": [ + "Volume Mappings" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Volume Mappings", + "description": "Returns available HTTP methods and actions", + "operationId": "options_volume_mappings", + "tags": [ + "Volume Mappings" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/widgets": { + "get": { + "summary": "List Miq Widgets", + "description": "Returns a paginated list of Miq Widgets", + "operationId": "list_widgets", + "tags": [ + "Miq Widgets" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "widgets" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/MiqWidget" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Miq Widget", + "description": "Creates a new Miq Widget", + "operationId": "create_widget", + "tags": [ + "Miq Widgets" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqWidget" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqWidget" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Miq Widgets", + "description": "Returns available HTTP methods and actions", + "operationId": "options_widgets", + "tags": [ + "Miq Widgets" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/widgets/{c_id}": { + "get": { + "summary": "Get a Miq Widget", + "description": "Returns a single Miq Widget by ID", + "operationId": "get_widget", + "tags": [ + "Miq Widgets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqWidget" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Miq Widget", + "description": "Updates an existing Miq Widget", + "operationId": "update_widget", + "tags": [ + "Miq Widgets" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/MiqWidget" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/MiqWidget" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Miq Widgets", + "description": "Returns available HTTP methods and actions", + "operationId": "options_widgets", + "tags": [ + "Miq Widgets" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/zones": { + "get": { + "summary": "List Zones", + "description": "Returns a paginated list of Zones", + "operationId": "list_zones", + "tags": [ + "Zones" + ], + "parameters": [ + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + }, + { + "$ref": "/components/parameters/filter" + }, + { + "$ref": "/components/parameters/sortBy" + }, + { + "$ref": "/components/parameters/sortOrder" + }, + { + "$ref": "/components/parameters/offset" + }, + { + "$ref": "/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "zones" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "/components/schemas/Zone" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "/components/schemas/Action" + } + }, + "links": { + "$ref": "/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Create a Zone", + "description": "Creates a new Zone", + "operationId": "create_zone", + "tags": [ + "Zones" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Zone" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Zone" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Zones", + "description": "Returns available HTTP methods and actions", + "operationId": "options_zones", + "tags": [ + "Zones" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/zones/{c_id}": { + "get": { + "summary": "Get a Zone", + "description": "Returns a single Zone by ID", + "operationId": "get_zone", + "tags": [ + "Zones" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + }, + { + "$ref": "/components/parameters/expand" + }, + { + "$ref": "/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Zone" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "summary": "Update a Zone", + "description": "Updates an existing Zone", + "operationId": "update_zone", + "tags": [ + "Zones" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Zone" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Zone" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "summary": "Update a Zone", + "description": "Updates an existing Zone", + "operationId": "update_zone", + "tags": [ + "Zones" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Zone" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Zone" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "summary": "Update a Zone", + "description": "Updates an existing Zone", + "operationId": "update_zone", + "tags": [ + "Zones" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Zone" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "/components/schemas/Zone" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/ValidationError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "summary": "Delete a Zone", + "description": "Deletes an existing Zone", + "operationId": "delete_zone", + "tags": [ + "Zones" + ], + "parameters": [ + { + "$ref": "/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "/components/schemas/Error" + } + } + } + } + } + }, + "options": { + "summary": "Get options for Zones", + "description": "Returns available HTTP methods and actions", + "operationId": "options_zones", + "tags": [ + "Zones" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + } }, "components": { "parameters": { + "version": { + "name": "version", + "in": "path", + "required": false, + "schema": { + "type": "string", + "pattern": "^v\\d+(\\.\\d+)*$" + }, + "description": "API version (optional)" + }, + "resourceId": { + "name": "c_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+$" + }, + "description": "Resource ID" + }, + "subResourceId": { + "name": "s_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+$" + }, + "description": "Sub-resource ID" + }, + "expand": { + "name": "expand", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Comma-separated list of resources to expand", + "example": "resources,tags" + }, + "attributes": { + "name": "attributes", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Comma-separated list of attributes to return", + "example": "id,name,created_at" + }, + "filter": { + "name": "filter[]", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "description": "Filter expressions (e.g., filter[]=name='test')", + "style": "form", + "explode": true + }, + "sortBy": { + "name": "sort_by", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Attribute to sort by", + "example": "name" + }, + "sortOrder": { + "name": "sort_order", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "description": "Sort order (ascending or descending)", + "example": "asc" + }, + "offset": { + "name": "offset", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "minimum": 0, + "default": 0 + }, + "description": "Number of resources to skip for pagination" + }, + "limit": { + "name": "limit", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 1000, + "default": 100 + }, + "description": "Maximum number of resources to return" + } }, "schemas": { "ID": { @@ -1785,6 +122757,9 @@ "deleted_on": { "type": "string", "format": "date-time" + }, + "type": { + "type": "string" } }, "additionalProperties": false @@ -3403,6 +124378,9 @@ }, "ems_ref_type": { "type": "string" + }, + "raw_power_state": { + "type": "string" } }, "additionalProperties": false @@ -6233,9 +127211,6 @@ "adhoc": { "type": "boolean" }, - "file_depot_id": { - "$ref": "#/components/schemas/ID" - }, "resource_id": { "$ref": "#/components/schemas/ID" } @@ -6359,9 +127334,6 @@ "sql_spid": { "type": "integer" }, - "log_file_depot_id": { - "$ref": "#/components/schemas/ID" - }, "proportional_set_size": { "type": "string" }, @@ -6386,8 +127358,8 @@ "unique_set_size": { "type": "string" }, - "has_vix_disk_lib": { - "type": "boolean" + "capabilities": { + "type": "object" } }, "additionalProperties": false @@ -9468,15 +130440,193 @@ "settings": { "type": "string" }, - "log_file_depot_id": { - "$ref": "#/components/schemas/ID" - }, "visible": { "type": "boolean" } }, "additionalProperties": false + }, + "CollectionMetadata": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Collection name" + }, + "count": { + "type": "integer", + "description": "Total count of resources" + }, + "subcount": { + "type": "integer", + "description": "Count of resources in current page" + }, + "pages": { + "type": "integer", + "description": "Total number of pages" + } + } + }, + "CollectionLinks": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri", + "description": "Link to current page" + }, + "first": { + "type": "string", + "format": "uri", + "description": "Link to first page" + }, + "last": { + "type": "string", + "format": "uri", + "description": "Link to last page" + }, + "next": { + "type": "string", + "format": "uri", + "description": "Link to next page" + }, + "previous": { + "type": "string", + "format": "uri", + "description": "Link to previous page" + } + } + }, + "Action": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Action name" + }, + "method": { + "type": "string", + "enum": [ + "post", + "put", + "patch", + "delete" + ], + "description": "HTTP method for the action" + }, + "href": { + "type": "string", + "format": "uri", + "description": "URL to perform the action" + } + } + }, + "Error": { + "type": "object", + "properties": { + "error": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Error type" + }, + "message": { + "type": "string", + "description": "Error message" + }, + "klass": { + "type": "string", + "description": "Error class" + } + }, + "required": [ + "kind", + "message" + ] + } + }, + "required": [ + "error" + ] + }, + "ValidationError": { + "type": "object", + "properties": { + "error": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Error type", + "example": "bad_request" + }, + "message": { + "type": "string", + "description": "Error message" + }, + "errors": { + "type": "object", + "description": "Field-specific validation errors", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "required": [ + "kind", + "message" + ] + } + }, + "required": [ + "error" + ] + } + }, + "securitySchemes": { + "basicAuth": { + "type": "http", + "scheme": "basic", + "description": "HTTP Basic Authentication" + }, + "bearerAuth": { + "type": "http", + "scheme": "bearer", + "description": "Bearer token authentication" + }, + "tokenAuth": { + "type": "apiKey", + "in": "header", + "name": "X-Auth-Token", + "description": "Token-based authentication" + } + } + }, + "security": [ + { + "basicAuth": [] + }, + { + "bearerAuth": [] + }, + { + "tokenAuth": [] + } + ], + "servers": [ + { + "url": "https://{hostname}", + "description": "ManageIQ API Server", + "variables": { + "hostname": { + "default": "localhost", + "description": "ManageIQ server hostname" + } } } - } + ] } diff --git a/lib/manageiq/api/open_api/generator.rb b/lib/manageiq/api/open_api/generator.rb index 94c215c0cc..56de79f069 100644 --- a/lib/manageiq/api/open_api/generator.rb +++ b/lib/manageiq/api/open_api/generator.rb @@ -3,6 +3,10 @@ module Api module OpenApi class Generator require 'json' + require_relative 'parameter_builder' + require_relative 'schema_builder' + require_relative 'operation_builder' + require_relative 'path_builder' OPENAPI_VERSION = "3.0.0".freeze PARAMETERS_PATH = "/components/parameters".freeze @@ -19,7 +23,13 @@ def initialize end def generate! - openapi_spec["components"]["schemas"] = build_schemas + openapi_spec["components"]["parameters"] = ParameterBuilder.build_common_parameters + openapi_spec["components"]["schemas"] = build_schemas.merge(SchemaBuilder.build_common_schemas) + openapi_spec["components"]["securitySchemes"] = build_security_schemes + openapi_spec["paths"] = PathBuilder.build_paths(::Api::ApiConfig.collections) + openapi_spec["security"] = build_security_requirements + openapi_spec["servers"] = build_servers + openapi_path.write("#{JSON.pretty_generate(openapi_spec)}\n") end @@ -102,6 +112,50 @@ def build_schema_properties_value(model, key, value) properties_value end + def build_security_schemes + { + "basicAuth" => { + "type" => "http", + "scheme" => "basic", + "description" => "HTTP Basic Authentication" + }, + "bearerAuth" => { + "type" => "http", + "scheme" => "bearer", + "description" => "Bearer token authentication" + }, + "tokenAuth" => { + "type" => "apiKey", + "in" => "header", + "name" => "X-Auth-Token", + "description" => "Token-based authentication" + } + } + end + + def build_security_requirements + [ + {"basicAuth" => []}, + {"bearerAuth" => []}, + {"tokenAuth" => []} + ] + end + + def build_servers + [ + { + "url" => "https://{hostname}", + "description" => "ManageIQ API Server", + "variables" => { + "hostname" => { + "default" => "localhost", + "description" => "ManageIQ server hostname" + } + } + } + ] + end + def skeletal_openapi_spec { "openapi" => OPENAPI_VERSION, diff --git a/lib/manageiq/api/open_api/operation_builder.rb b/lib/manageiq/api/open_api/operation_builder.rb new file mode 100644 index 0000000000..7b05cb28f9 --- /dev/null +++ b/lib/manageiq/api/open_api/operation_builder.rb @@ -0,0 +1,259 @@ +module ManageIQ + module Api + module OpenApi + module OperationBuilder + SCHEMAS_PATH = "/components/schemas".freeze + PARAMETERS_PATH = "/components/parameters".freeze + + def self.build_collection_index_operation(collection_name, collection, model_schema_name) + { + "summary" => "List #{collection[:description] || collection_name}", + "description" => "Returns a paginated list of #{collection[:description] || collection_name}", + "operationId" => "list_#{collection_name}", + "tags" => [collection[:description] || collection_name.to_s.titleize], + "parameters" => ParameterBuilder.collection_query_parameters, + "responses" => { + "200" => { + "description" => "Success", + "content" => { + "application/json" => { + "schema" => SchemaBuilder.build_collection_response_schema(collection_name.to_s, model_schema_name) + } + } + } + }.merge(error_responses) + } + end + + def self.build_resource_show_operation(collection_name, collection, model_schema_name) + { + "summary" => "Get a #{collection[:description]&.singularize || collection_name.to_s.singularize}", + "description" => "Returns a single #{collection[:description]&.singularize || collection_name.to_s.singularize} by ID", + "operationId" => "get_#{collection_name.to_s.singularize}", + "tags" => [collection[:description] || collection_name.to_s.titleize], + "parameters" => [ + { + "$ref" => File.join(PARAMETERS_PATH, "resourceId") + } + ] + ParameterBuilder.resource_query_parameters, + "responses" => { + "200" => { + "description" => "Success", + "content" => { + "application/json" => { + "schema" => SchemaBuilder.build_resource_response_schema(model_schema_name) + } + } + }, + "404" => SchemaBuilder.build_standard_responses["404"] + }.merge(error_responses) + } + end + + def self.build_create_operation(collection_name, collection, model_schema_name) + { + "summary" => "Create a #{collection[:description]&.singularize || collection_name.to_s.singularize}", + "description" => "Creates a new #{collection[:description]&.singularize || collection_name.to_s.singularize}", + "operationId" => "create_#{collection_name.to_s.singularize}", + "tags" => [collection[:description] || collection_name.to_s.titleize], + "requestBody" => { + "required" => true, + "content" => { + "application/json" => { + "schema" => { + "$ref" => File.join(SCHEMAS_PATH, model_schema_name) + } + } + } + }, + "responses" => { + "201" => { + "description" => "Created", + "content" => { + "application/json" => { + "schema" => SchemaBuilder.build_resource_response_schema(model_schema_name) + } + } + }, + "400" => SchemaBuilder.build_standard_responses["400"], + "422" => SchemaBuilder.build_standard_responses["422"] + }.merge(error_responses) + } + end + + def self.build_update_operation(collection_name, collection, model_schema_name) + { + "summary" => "Update a #{collection[:description]&.singularize || collection_name.to_s.singularize}", + "description" => "Updates an existing #{collection[:description]&.singularize || collection_name.to_s.singularize}", + "operationId" => "update_#{collection_name.to_s.singularize}", + "tags" => [collection[:description] || collection_name.to_s.titleize], + "parameters" => [ + {"$ref" => File.join(PARAMETERS_PATH, "resourceId")} + ], + "requestBody" => { + "required" => true, + "content" => { + "application/json" => { + "schema" => { + "$ref" => File.join(SCHEMAS_PATH, model_schema_name) + } + } + } + }, + "responses" => { + "200" => { + "description" => "Success", + "content" => { + "application/json" => { + "schema" => SchemaBuilder.build_resource_response_schema(model_schema_name) + } + } + }, + "404" => SchemaBuilder.build_standard_responses["404"], + "422" => SchemaBuilder.build_standard_responses["422"] + }.merge(error_responses) + } + end + + def self.build_delete_operation(collection_name, collection) + { + "summary" => "Delete a #{collection[:description]&.singularize || collection_name.to_s.singularize}", + "description" => "Deletes an existing #{collection[:description]&.singularize || collection_name.to_s.singularize}", + "operationId" => "delete_#{collection_name.to_s.singularize}", + "tags" => [collection[:description] || collection_name.to_s.titleize], + "parameters" => [ + {"$ref" => File.join(PARAMETERS_PATH, "resourceId")} + ], + "responses" => { + "204" => SchemaBuilder.build_standard_responses["204"], + "404" => SchemaBuilder.build_standard_responses["404"] + }.merge(error_responses) + } + end + + def self.build_bulk_action_operation(collection_name, collection, model_schema_name) + { + "summary" => "Perform bulk actions on #{collection[:description] || collection_name}", + "description" => "Executes actions on multiple #{collection[:description] || collection_name} or performs queries", + "operationId" => "bulk_action_#{collection_name}", + "tags" => [collection[:description] || collection_name.to_s.titleize], + "requestBody" => { + "required" => true, + "content" => { + "application/json" => { + "schema" => { + "oneOf" => [ + { + "type" => "object", + "properties" => { + "action" => { + "type" => "string", + "description" => "Action to perform" + }, + "resources" => { + "type" => "array", + "description" => "Resources to perform action on", + "items" => { + "type" => "object", + "properties" => { + "href" => { + "type" => "string", + "format" => "uri" + } + } + } + } + }, + "required" => ["action"] + }, + { + "$ref" => File.join(SCHEMAS_PATH, model_schema_name) + } + ] + } + } + } + }, + "responses" => { + "200" => { + "description" => "Success", + "content" => { + "application/json" => { + "schema" => { + "type" => "object", + "properties" => { + "results" => { + "type" => "array", + "items" => { + "$ref" => File.join(SCHEMAS_PATH, model_schema_name) + } + } + } + } + } + } + }, + "400" => SchemaBuilder.build_standard_responses["400"], + "422" => SchemaBuilder.build_standard_responses["422"] + }.merge(error_responses) + } + end + + def self.build_resource_action_operation(collection_name, collection, model_schema_name) + { + "summary" => "Perform action on a #{collection[:description]&.singularize || collection_name.to_s.singularize}", + "description" => "Executes a custom action on a specific #{collection[:description]&.singularize || collection_name.to_s.singularize}", + "operationId" => "action_#{collection_name.to_s.singularize}", + "tags" => [collection[:description] || collection_name.to_s.titleize], + "parameters" => [ + {"$ref" => File.join(PARAMETERS_PATH, "resourceId")} + ], + "requestBody" => { + "required" => true, + "content" => { + "application/json" => { + "schema" => { + "oneOf" => [ + { + "type" => "object", + "properties" => { + "action" => { + "type" => "string", + "description" => "Action to perform" + } + }, + "required" => ["action"] + }, + { + "$ref" => File.join(SCHEMAS_PATH, model_schema_name) + } + ] + } + } + } + }, + "responses" => { + "200" => { + "description" => "Success", + "content" => { + "application/json" => { + "schema" => SchemaBuilder.build_resource_response_schema(model_schema_name) + } + } + }, + "404" => SchemaBuilder.build_standard_responses["404"], + "422" => SchemaBuilder.build_standard_responses["422"] + }.merge(error_responses) + } + end + + def self.error_responses + { + "401" => SchemaBuilder.build_standard_responses["401"], + "403" => SchemaBuilder.build_standard_responses["403"] + } + end + end + end + end +end diff --git a/lib/manageiq/api/open_api/parameter_builder.rb b/lib/manageiq/api/open_api/parameter_builder.rb new file mode 100644 index 0000000000..f8e70d6a3d --- /dev/null +++ b/lib/manageiq/api/open_api/parameter_builder.rb @@ -0,0 +1,141 @@ +module ManageIQ + module Api + module OpenApi + module ParameterBuilder + PARAMETERS_PATH = "/components/parameters".freeze + + def self.build_common_parameters + { + "version" => { + "name" => "version", + "in" => "path", + "required" => false, + "schema" => { + "type" => "string", + "pattern" => "^v\\d+(\\.\\d+)*$" + }, + "description" => "API version (optional)" + }, + "resourceId" => { + "name" => "c_id", + "in" => "path", + "required" => true, + "schema" => { + "type" => "string", + "pattern" => "^\\d+$" + }, + "description" => "Resource ID" + }, + "subResourceId" => { + "name" => "s_id", + "in" => "path", + "required" => true, + "schema" => { + "type" => "string", + "pattern" => "^\\d+$" + }, + "description" => "Sub-resource ID" + }, + "expand" => { + "name" => "expand", + "in" => "query", + "required" => false, + "schema" => { + "type" => "string" + }, + "description" => "Comma-separated list of resources to expand", + "example" => "resources,tags" + }, + "attributes" => { + "name" => "attributes", + "in" => "query", + "required" => false, + "schema" => { + "type" => "string" + }, + "description" => "Comma-separated list of attributes to return", + "example" => "id,name,created_at" + }, + "filter" => { + "name" => "filter[]", + "in" => "query", + "required" => false, + "schema" => { + "type" => "array", + "items" => { + "type" => "string" + } + }, + "description" => "Filter expressions (e.g., filter[]=name='test')", + "style" => "form", + "explode" => true + }, + "sortBy" => { + "name" => "sort_by", + "in" => "query", + "required" => false, + "schema" => { + "type" => "string" + }, + "description" => "Attribute to sort by", + "example" => "name" + }, + "sortOrder" => { + "name" => "sort_order", + "in" => "query", + "required" => false, + "schema" => { + "type" => "string", + "enum" => ["asc", "desc"] + }, + "description" => "Sort order (ascending or descending)", + "example" => "asc" + }, + "offset" => { + "name" => "offset", + "in" => "query", + "required" => false, + "schema" => { + "type" => "integer", + "minimum" => 0, + "default" => 0 + }, + "description" => "Number of resources to skip for pagination" + }, + "limit" => { + "name" => "limit", + "in" => "query", + "required" => false, + "schema" => { + "type" => "integer", + "minimum" => 1, + "maximum" => 1000, + "default" => 100 + }, + "description" => "Maximum number of resources to return" + } + } + end + + def self.collection_query_parameters + [ + {"$ref" => "#{PARAMETERS_PATH}/expand"}, + {"$ref" => "#{PARAMETERS_PATH}/attributes"}, + {"$ref" => "#{PARAMETERS_PATH}/filter"}, + {"$ref" => "#{PARAMETERS_PATH}/sortBy"}, + {"$ref" => "#{PARAMETERS_PATH}/sortOrder"}, + {"$ref" => "#{PARAMETERS_PATH}/offset"}, + {"$ref" => "#{PARAMETERS_PATH}/limit"} + ] + end + + def self.resource_query_parameters + [ + {"$ref" => "#{PARAMETERS_PATH}/expand"}, + {"$ref" => "#{PARAMETERS_PATH}/attributes"} + ] + end + end + end + end +end diff --git a/lib/manageiq/api/open_api/path_builder.rb b/lib/manageiq/api/open_api/path_builder.rb new file mode 100644 index 0000000000..80476122a7 --- /dev/null +++ b/lib/manageiq/api/open_api/path_builder.rb @@ -0,0 +1,492 @@ +module ManageIQ + module Api + module OpenApi + module PathBuilder + PARAMETERS_PATH = "/components/parameters".freeze + + def self.build_paths(collections) + paths = {} + + collections.each do |collection_name, collection| + # Skip collections without a model class + next unless collection.klass + + model_schema_name = collection.klass.gsub("::", "_") + + # Handle primary collections (e.g., auth) + if collection.options.include?(:primary) + build_primary_collection_paths(paths, collection_name, collection, model_schema_name) + next + end + + # Handle regular collections + if collection.options.include?(:collection) + build_collection_paths(paths, collection_name, collection, model_schema_name) + end + + # Handle subcollections + if collection.options.include?(:subcollection) + # Subcollections are handled when processing their parent collections + next + end + end + + paths + end + + def self.build_primary_collection_paths(paths, collection_name, collection, model_schema_name) + base_path = "/api/{version}/#{collection_name}" + + path_item = {} + + # Add operations based on verbs + collection.verbs.each do |verb| + case verb + when :get + path_item["get"] = OperationBuilder.build_collection_index_operation( + collection_name, collection, model_schema_name + ) + when :post + path_item["post"] = OperationBuilder.build_bulk_action_operation( + collection_name, collection, model_schema_name + ) + when :delete + path_item["delete"] = { + "summary" => "Delete #{collection[:description] || collection_name}", + "description" => "Deletes the #{collection[:description] || collection_name}", + "operationId" => "delete_#{collection_name}", + "tags" => [collection[:description] || collection_name.to_s.titleize], + "responses" => { + "204" => SchemaBuilder.build_standard_responses["204"] + }.merge(OperationBuilder.error_responses) + } + end + end + + # Add OPTIONS + path_item["options"] = build_options_operation(collection_name, collection) + + paths[base_path] = path_item unless path_item.empty? + end + + def self.build_collection_paths(paths, collection_name, collection, model_schema_name) + # Collection index path: /api/{version}/collection_name + collection_path = "/api/{version}/#{collection_name}" + + # Resource path: /api/{version}/collection_name/{c_id} + resource_path = "/api/{version}/#{collection_name}/{c_id}" + + collection_operations = {} + resource_operations = {} + + # Build operations based on verbs + collection.verbs.each do |verb| + case verb + when :get + # GET collection (index) + collection_operations["get"] = OperationBuilder.build_collection_index_operation( + collection_name, collection, model_schema_name + ) + + # GET resource (show) + resource_operations["get"] = OperationBuilder.build_resource_show_operation( + collection_name, collection, model_schema_name + ) + + when :post + # POST collection (create or bulk action) + collection_operations["post"] = OperationBuilder.build_create_operation( + collection_name, collection, model_schema_name + ) + + # POST resource (update or action) + resource_operations["post"] = if collection.options.include?(:custom_actions) + OperationBuilder.build_resource_action_operation( + collection_name, collection, model_schema_name + ) + else + OperationBuilder.build_update_operation( + collection_name, collection, model_schema_name + ) + end + + when :put + # PUT resource (update) + resource_operations["put"] = OperationBuilder.build_update_operation( + collection_name, collection, model_schema_name + ) + + when :patch + # PATCH resource (update) + resource_operations["patch"] = OperationBuilder.build_update_operation( + collection_name, collection, model_schema_name + ) + + when :delete + # DELETE resource + resource_operations["delete"] = OperationBuilder.build_delete_operation( + collection_name, collection + ) + end + end + + # Add OPTIONS + collection_operations["options"] = build_options_operation(collection_name, collection) + resource_operations["options"] = build_options_operation(collection_name, collection) + + paths[collection_path] = collection_operations unless collection_operations.empty? + paths[resource_path] = resource_operations unless resource_operations.empty? + + # Build subcollection paths + collection.subcollections&.each do |subcollection_name| + build_subcollection_paths( + paths, + collection_name, + subcollection_name, + collection, + ::Api::ApiConfig.collections[subcollection_name] + ) + end + end + + def self.build_subcollection_paths(paths, parent_collection_name, subcollection_name, parent_collection, subcollection) + return unless subcollection&.klass + + model_schema_name = subcollection.klass.gsub("::", "_") + + # Special case: settings subcollection + if subcollection_name == :settings + settings_path = "/api/{version}/#{parent_collection_name}/{c_id}/settings" + + settings_operations = { + "get" => { + "summary" => "Get settings for #{parent_collection[:description]&.singularize || parent_collection_name.to_s.singularize}", + "description" => "Returns settings for the specified resource", + "operationId" => "get_#{parent_collection_name.to_s.singularize}_settings", + "tags" => [parent_collection[:description] || parent_collection_name.to_s.titleize], + "parameters" => [ + {"$ref" => "#{PARAMETERS_PATH}/resourceId"} + ], + "responses" => { + "200" => { + "description" => "Success", + "content" => { + "application/json" => { + "schema" => { + "type" => "object", + "additionalProperties" => true + } + } + } + }, + "404" => SchemaBuilder.build_standard_responses["404"] + }.merge(OperationBuilder.error_responses) + }, + "patch" => { + "summary" => "Update settings for #{parent_collection[:description]&.singularize || parent_collection_name.to_s.singularize}", + "description" => "Updates settings for the specified resource", + "operationId" => "update_#{parent_collection_name.to_s.singularize}_settings", + "tags" => [parent_collection[:description] || parent_collection_name.to_s.titleize], + "parameters" => [ + {"$ref" => "#{PARAMETERS_PATH}/resourceId"} + ], + "requestBody" => { + "required" => true, + "content" => { + "application/json" => { + "schema" => { + "type" => "object", + "additionalProperties" => true + } + } + } + }, + "responses" => { + "200" => { + "description" => "Success", + "content" => { + "application/json" => { + "schema" => { + "type" => "object", + "additionalProperties" => true + } + } + } + }, + "404" => SchemaBuilder.build_standard_responses["404"], + "422" => SchemaBuilder.build_standard_responses["422"] + }.merge(OperationBuilder.error_responses) + }, + "delete" => { + "summary" => "Delete settings for #{parent_collection[:description]&.singularize || parent_collection_name.to_s.singularize}", + "description" => "Deletes settings for the specified resource", + "operationId" => "delete_#{parent_collection_name.to_s.singularize}_settings", + "tags" => [parent_collection[:description] || parent_collection_name.to_s.titleize], + "parameters" => [ + {"$ref" => "#{PARAMETERS_PATH}/resourceId"} + ], + "responses" => { + "204" => SchemaBuilder.build_standard_responses["204"], + "404" => SchemaBuilder.build_standard_responses["404"] + }.merge(OperationBuilder.error_responses) + }, + "options" => build_options_operation(subcollection_name, subcollection) + } + + paths[settings_path] = settings_operations + return + end + + # Subcollection index path: /api/{version}/parent/{c_id}/subcollection + subcollection_path = "/api/{version}/#{parent_collection_name}/{c_id}/#{subcollection_name}" + + # Subresource path: /api/{version}/parent/{c_id}/subcollection/{s_id} + subresource_path = "/api/{version}/#{parent_collection_name}/{c_id}/#{subcollection_name}/{s_id}" + + subcollection_operations = {} + subresource_operations = {} + + # Build operations based on verbs + subcollection.verbs.each do |verb| + case verb + when :get + # GET subcollection (index) + subcollection_operations["get"] = { + "summary" => "List #{subcollection[:description] || subcollection_name} for #{parent_collection[:description]&.singularize || parent_collection_name.to_s.singularize}", + "description" => "Returns a paginated list of #{subcollection[:description] || subcollection_name}", + "operationId" => "list_#{parent_collection_name.to_s.singularize}_#{subcollection_name}", + "tags" => [parent_collection[:description] || parent_collection_name.to_s.titleize], + "parameters" => [ + {"$ref" => "#{PARAMETERS_PATH}/resourceId"} + ] + ParameterBuilder.collection_query_parameters, + "responses" => { + "200" => { + "description" => "Success", + "content" => { + "application/json" => { + "schema" => SchemaBuilder.build_collection_response_schema(subcollection_name.to_s, model_schema_name) + } + } + }, + "404" => SchemaBuilder.build_standard_responses["404"] + }.merge(OperationBuilder.error_responses) + } + + # GET subresource (show) + subresource_operations["get"] = { + "summary" => "Get a #{subcollection[:description]&.singularize || subcollection_name.to_s.singularize}", + "description" => "Returns a single #{subcollection[:description]&.singularize || subcollection_name.to_s.singularize} by ID", + "operationId" => "get_#{parent_collection_name.to_s.singularize}_#{subcollection_name.to_s.singularize}", + "tags" => [parent_collection[:description] || parent_collection_name.to_s.titleize], + "parameters" => [ + {"$ref" => "#{PARAMETERS_PATH}/resourceId"}, + {"$ref" => "#{PARAMETERS_PATH}/subResourceId"} + ] + ParameterBuilder.resource_query_parameters, + "responses" => { + "200" => { + "description" => "Success", + "content" => { + "application/json" => { + "schema" => SchemaBuilder.build_resource_response_schema(model_schema_name) + } + } + }, + "404" => SchemaBuilder.build_standard_responses["404"] + }.merge(OperationBuilder.error_responses) + } + + when :post + # POST subcollection (create) + subcollection_operations["post"] = { + "summary" => "Create a #{subcollection[:description]&.singularize || subcollection_name.to_s.singularize}", + "description" => "Creates a new #{subcollection[:description]&.singularize || subcollection_name.to_s.singularize}", + "operationId" => "create_#{parent_collection_name.to_s.singularize}_#{subcollection_name.to_s.singularize}", + "tags" => [parent_collection[:description] || parent_collection_name.to_s.titleize], + "parameters" => [ + {"$ref" => "#{PARAMETERS_PATH}/resourceId"} + ], + "requestBody" => { + "required" => true, + "content" => { + "application/json" => { + "schema" => { + "$ref" => "#{SchemaBuilder::SCHEMAS_PATH}/#{model_schema_name}" + } + } + } + }, + "responses" => { + "201" => { + "description" => "Created", + "content" => { + "application/json" => { + "schema" => SchemaBuilder.build_resource_response_schema(model_schema_name) + } + } + }, + "404" => SchemaBuilder.build_standard_responses["404"], + "422" => SchemaBuilder.build_standard_responses["422"] + }.merge(OperationBuilder.error_responses) + } + + # POST subresource (update) + subresource_operations["post"] = { + "summary" => "Update a #{subcollection[:description]&.singularize || subcollection_name.to_s.singularize}", + "description" => "Updates an existing #{subcollection[:description]&.singularize || subcollection_name.to_s.singularize}", + "operationId" => "update_#{parent_collection_name.to_s.singularize}_#{subcollection_name.to_s.singularize}", + "tags" => [parent_collection[:description] || parent_collection_name.to_s.titleize], + "parameters" => [ + {"$ref" => "#{PARAMETERS_PATH}/resourceId"}, + {"$ref" => "#{PARAMETERS_PATH}/subResourceId"} + ], + "requestBody" => { + "required" => true, + "content" => { + "application/json" => { + "schema" => { + "$ref" => "#{SchemaBuilder::SCHEMAS_PATH}/#{model_schema_name}" + } + } + } + }, + "responses" => { + "200" => { + "description" => "Success", + "content" => { + "application/json" => { + "schema" => SchemaBuilder.build_resource_response_schema(model_schema_name) + } + } + }, + "404" => SchemaBuilder.build_standard_responses["404"], + "422" => SchemaBuilder.build_standard_responses["422"] + }.merge(OperationBuilder.error_responses) + } + + when :put + # PUT subresource (update) + subresource_operations["put"] = { + "summary" => "Update a #{subcollection[:description]&.singularize || subcollection_name.to_s.singularize}", + "description" => "Updates an existing #{subcollection[:description]&.singularize || subcollection_name.to_s.singularize}", + "operationId" => "put_#{parent_collection_name.to_s.singularize}_#{subcollection_name.to_s.singularize}", + "tags" => [parent_collection[:description] || parent_collection_name.to_s.titleize], + "parameters" => [ + {"$ref" => "#{PARAMETERS_PATH}/resourceId"}, + {"$ref" => "#{PARAMETERS_PATH}/subResourceId"} + ], + "requestBody" => { + "required" => true, + "content" => { + "application/json" => { + "schema" => { + "$ref" => "#{SchemaBuilder::SCHEMAS_PATH}/#{model_schema_name}" + } + } + } + }, + "responses" => { + "200" => { + "description" => "Success", + "content" => { + "application/json" => { + "schema" => SchemaBuilder.build_resource_response_schema(model_schema_name) + } + } + }, + "404" => SchemaBuilder.build_standard_responses["404"], + "422" => SchemaBuilder.build_standard_responses["422"] + }.merge(OperationBuilder.error_responses) + } + + when :patch + # PATCH subresource (update) + subresource_operations["patch"] = { + "summary" => "Update a #{subcollection[:description]&.singularize || subcollection_name.to_s.singularize}", + "description" => "Updates an existing #{subcollection[:description]&.singularize || subcollection_name.to_s.singularize}", + "operationId" => "patch_#{parent_collection_name.to_s.singularize}_#{subcollection_name.to_s.singularize}", + "tags" => [parent_collection[:description] || parent_collection_name.to_s.titleize], + "parameters" => [ + {"$ref" => "#{PARAMETERS_PATH}/resourceId"}, + {"$ref" => "#{PARAMETERS_PATH}/subResourceId"} + ], + "requestBody" => { + "required" => true, + "content" => { + "application/json" => { + "schema" => { + "$ref" => "#{SchemaBuilder::SCHEMAS_PATH}/#{model_schema_name}" + } + } + } + }, + "responses" => { + "200" => { + "description" => "Success", + "content" => { + "application/json" => { + "schema" => SchemaBuilder.build_resource_response_schema(model_schema_name) + } + } + }, + "404" => SchemaBuilder.build_standard_responses["404"], + "422" => SchemaBuilder.build_standard_responses["422"] + }.merge(OperationBuilder.error_responses) + } + + when :delete + # DELETE subresource + subresource_operations["delete"] = { + "summary" => "Delete a #{subcollection[:description]&.singularize || subcollection_name.to_s.singularize}", + "description" => "Deletes an existing #{subcollection[:description]&.singularize || subcollection_name.to_s.singularize}", + "operationId" => "delete_#{parent_collection_name.to_s.singularize}_#{subcollection_name.to_s.singularize}", + "tags" => [parent_collection[:description] || parent_collection_name.to_s.titleize], + "parameters" => [ + {"$ref" => "#{PARAMETERS_PATH}/resourceId"}, + {"$ref" => "#{PARAMETERS_PATH}/subResourceId"} + ], + "responses" => { + "204" => SchemaBuilder.build_standard_responses["204"], + "404" => SchemaBuilder.build_standard_responses["404"] + }.merge(OperationBuilder.error_responses) + } + end + end + + # Add OPTIONS + subcollection_operations["options"] = build_options_operation(subcollection_name, subcollection) + subresource_operations["options"] = build_options_operation(subcollection_name, subcollection) + + paths[subcollection_path] = subcollection_operations unless subcollection_operations.empty? + paths[subresource_path] = subresource_operations unless subresource_operations.empty? + end + + def self.build_options_operation(collection_name, collection) + { + "summary" => "Get options for #{collection[:description] || collection_name}", + "description" => "Returns available HTTP methods and actions", + "operationId" => "options_#{collection_name}", + "tags" => [collection[:description] || collection_name.to_s.titleize], + "responses" => { + "200" => { + "description" => "Success", + "content" => { + "application/json" => { + "schema" => { + "type" => "object", + "properties" => { + "data" => { + "type" => "object", + "additionalProperties" => true + } + } + } + } + } + } + } + } + end + end + end + end +end diff --git a/lib/manageiq/api/open_api/schema_builder.rb b/lib/manageiq/api/open_api/schema_builder.rb new file mode 100644 index 0000000000..222c33e630 --- /dev/null +++ b/lib/manageiq/api/open_api/schema_builder.rb @@ -0,0 +1,274 @@ +module ManageIQ + module Api + module OpenApi + module SchemaBuilder + SCHEMAS_PATH = "/components/schemas".freeze + + def self.build_common_schemas + { + "CollectionMetadata" => { + "type" => "object", + "properties" => { + "name" => { + "type" => "string", + "description" => "Collection name" + }, + "count" => { + "type" => "integer", + "description" => "Total count of resources" + }, + "subcount" => { + "type" => "integer", + "description" => "Count of resources in current page" + }, + "pages" => { + "type" => "integer", + "description" => "Total number of pages" + } + } + }, + "CollectionLinks" => { + "type" => "object", + "properties" => { + "self" => { + "type" => "string", + "format" => "uri", + "description" => "Link to current page" + }, + "first" => { + "type" => "string", + "format" => "uri", + "description" => "Link to first page" + }, + "last" => { + "type" => "string", + "format" => "uri", + "description" => "Link to last page" + }, + "next" => { + "type" => "string", + "format" => "uri", + "description" => "Link to next page" + }, + "previous" => { + "type" => "string", + "format" => "uri", + "description" => "Link to previous page" + } + } + }, + "Action" => { + "type" => "object", + "properties" => { + "name" => { + "type" => "string", + "description" => "Action name" + }, + "method" => { + "type" => "string", + "enum" => ["post", "put", "patch", "delete"], + "description" => "HTTP method for the action" + }, + "href" => { + "type" => "string", + "format" => "uri", + "description" => "URL to perform the action" + } + } + }, + "Error" => { + "type" => "object", + "properties" => { + "error" => { + "type" => "object", + "properties" => { + "kind" => { + "type" => "string", + "description" => "Error type" + }, + "message" => { + "type" => "string", + "description" => "Error message" + }, + "klass" => { + "type" => "string", + "description" => "Error class" + } + }, + "required" => ["kind", "message"] + } + }, + "required" => ["error"] + }, + "ValidationError" => { + "type" => "object", + "properties" => { + "error" => { + "type" => "object", + "properties" => { + "kind" => { + "type" => "string", + "description" => "Error type", + "example" => "bad_request" + }, + "message" => { + "type" => "string", + "description" => "Error message" + }, + "errors" => { + "type" => "object", + "description" => "Field-specific validation errors", + "additionalProperties" => { + "type" => "array", + "items" => { + "type" => "string" + } + } + } + }, + "required" => ["kind", "message"] + } + }, + "required" => ["error"] + } + } + end + + def self.build_collection_response_schema(collection_name, model_schema_name) + { + "type" => "object", + "properties" => { + "name" => { + "type" => "string", + "example" => collection_name + }, + "count" => { + "type" => "integer" + }, + "subcount" => { + "type" => "integer" + }, + "pages" => { + "type" => "integer" + }, + "resources" => { + "type" => "array", + "items" => { + "$ref" => "#{SCHEMAS_PATH}/#{model_schema_name}" + } + }, + "actions" => { + "type" => "array", + "items" => { + "$ref" => "#{SCHEMAS_PATH}/Action" + } + }, + "links" => { + "$ref" => "#{SCHEMAS_PATH}/CollectionLinks" + } + } + } + end + + def self.build_resource_response_schema(model_schema_name) + { + "allOf" => [ + {"$ref" => "#{SCHEMAS_PATH}/#{model_schema_name}"}, + { + "type" => "object", + "properties" => { + "href" => { + "type" => "string", + "format" => "uri", + "description" => "Resource URL" + }, + "actions" => { + "type" => "array", + "description" => "Available actions for this resource", + "items" => { + "$ref" => "#{SCHEMAS_PATH}/Action" + } + } + } + } + ] + } + end + + def self.build_standard_responses + { + "200" => { + "description" => "Success" + }, + "201" => { + "description" => "Created" + }, + "204" => { + "description" => "No Content" + }, + "400" => { + "description" => "Bad Request", + "content" => { + "application/json" => { + "schema" => { + "$ref" => "#{SCHEMAS_PATH}/Error" + } + } + } + }, + "401" => { + "description" => "Unauthorized", + "content" => { + "application/json" => { + "schema" => { + "$ref" => "#{SCHEMAS_PATH}/Error" + } + } + } + }, + "403" => { + "description" => "Forbidden", + "content" => { + "application/json" => { + "schema" => { + "$ref" => "#{SCHEMAS_PATH}/Error" + } + } + } + }, + "404" => { + "description" => "Not Found", + "content" => { + "application/json" => { + "schema" => { + "$ref" => "#{SCHEMAS_PATH}/Error" + } + } + } + }, + "422" => { + "description" => "Unprocessable Entity", + "content" => { + "application/json" => { + "schema" => { + "$ref" => "#{SCHEMAS_PATH}/ValidationError" + } + } + } + }, + "500" => { + "description" => "Internal Server Error", + "content" => { + "application/json" => { + "schema" => { + "$ref" => "#{SCHEMAS_PATH}/Error" + } + } + } + } + } + end + end + end + end +end From 60d7a6c29c273888dce2183a21fc4a29a8a796b1 Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Wed, 29 Apr 2026 10:19:08 -0400 Subject: [PATCH 2/5] Finish building openapi.json paths and parameters --- lib/manageiq/api/open_api/generator.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/manageiq/api/open_api/generator.rb b/lib/manageiq/api/open_api/generator.rb index 56de79f069..9ad940b812 100644 --- a/lib/manageiq/api/open_api/generator.rb +++ b/lib/manageiq/api/open_api/generator.rb @@ -1,13 +1,13 @@ +require 'json' +require_relative 'parameter_builder' +require_relative 'schema_builder' +require_relative 'operation_builder' +require_relative 'path_builder' + module ManageIQ module Api module OpenApi class Generator - require 'json' - require_relative 'parameter_builder' - require_relative 'schema_builder' - require_relative 'operation_builder' - require_relative 'path_builder' - OPENAPI_VERSION = "3.0.0".freeze PARAMETERS_PATH = "/components/parameters".freeze SCHEMAS_PATH = "/components/schemas".freeze From 1341ad9b89aca6d61e65edac1d53ca98710369ed Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Wed, 29 Apr 2026 12:25:09 -0400 Subject: [PATCH 3/5] Add Github Actions to build openapi.json --- .github/workflows/openapi-generate.yml | 85 ++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 .github/workflows/openapi-generate.yml diff --git a/.github/workflows/openapi-generate.yml b/.github/workflows/openapi-generate.yml new file mode 100644 index 0000000000..1ae268108c --- /dev/null +++ b/.github/workflows/openapi-generate.yml @@ -0,0 +1,85 @@ +name: Generate OpenAPI Specification + +on: + push: + branches: + - master + paths: + - 'config/api.yml' + - 'lib/manageiq/api/open_api/**' + - 'app/controllers/api/**' + schedule: + - cron: 0 0 * * 0 + workflow_dispatch: +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: true +permissions: + contents: read +jobs: + openapi-generate: + runs-on: ubuntu-latest + services: + postgres: + image: manageiq/postgresql:13 + env: + POSTGRESQL_USER: root + POSTGRESQL_PASSWORD: smartvm + POSTGRESQL_DATABASE: vmdb_test + options: "--health-cmd pg_isready --health-interval 2s --health-timeout 5s --health-retries 5" + ports: + - 5432:5432 + env: + PGHOST: localhost + PGPASSWORD: smartvm + RAILS_ENV: test + steps: + - name: Checkout repository + uses: actions/checkout@v6 + - name: Set up system + run: bin/before_install + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.3' + bundler-cache: true + timeout-minutes: 30 + - name: Prepare tests + run: bin/setup + - name: Generate OpenAPI specification + run: bundle exec rake manageiq:api:openapi_generate + - name: Create Pull Request + uses: peter-evans/create-pull-request@v8 + with: + token: ${{ secrets.GITHUB_TOKEN }} + commit-message: "Update OpenAPI specification" + title: "Update OpenAPI specification" + body: | + ## OpenAPI Specification Update + + This PR updates the OpenAPI specification (`config/openapi.json`) based on the current API configuration. + + ### Changes + - Regenerated OpenAPI spec from `config/api.yml` + - Updated schemas, paths, and operations + + ### Generated by + - Workflow: `${{ github.workflow }}` + - Run: `${{ github.run_number }}` + - Triggered by: `${{ github.workflow_ref }}\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}` + + ### Review Checklist + - [ ] Verify new/modified endpoints are documented correctly + - [ ] Check parameter definitions are accurate + - [ ] Ensure response schemas match actual API responses + - [ ] Validate security schemes are properly defined + + --- + *This PR was automatically generated by GitHub Actions* + branch: openapi_generate + delete-branch: true + push-to-fork: miq-bot/manageiq-api + labels: | + enhancement + add-paths: | + config/openapi.json From 5d93e3f3e638dfa01cbbe66467865539c5303c22 Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Wed, 29 Apr 2026 14:46:57 -0400 Subject: [PATCH 4/5] Condense responses uses `$ref` --- config/openapi.json | 55843 ++++------------ lib/manageiq/api/open_api/generator.rb | 7 +- .../api/open_api/operation_builder.rb | 22 +- .../api/open_api/parameter_builder.rb | 2 +- lib/manageiq/api/open_api/path_builder.rb | 2 +- lib/manageiq/api/open_api/schema_builder.rb | 71 +- 6 files changed, 13938 insertions(+), 42009 deletions(-) diff --git a/config/openapi.json b/config/openapi.json index c2f0b952e5..1f576bde1f 100644 --- a/config/openapi.json +++ b/config/openapi.json @@ -16,25 +16,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -61,17 +61,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -79,24 +79,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -112,7 +98,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" } } } @@ -125,7 +111,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" }, { "type": "object", @@ -139,7 +125,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -150,44 +136,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -228,13 +186,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -245,7 +203,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" }, { "type": "object", @@ -259,7 +217,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -270,34 +228,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -310,7 +247,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -318,7 +255,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" } } } @@ -331,7 +268,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" }, { "type": "object", @@ -345,7 +282,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -356,44 +293,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -406,7 +315,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -414,7 +323,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" } } } @@ -427,7 +336,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" }, { "type": "object", @@ -441,7 +350,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -452,44 +361,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -502,7 +383,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -510,7 +391,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" } } } @@ -523,7 +404,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" }, { "type": "object", @@ -537,7 +418,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -548,44 +429,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -598,42 +451,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -674,25 +506,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -719,17 +551,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqAlertSet" + "$ref": "#/components/schemas/MiqAlertSet" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -737,24 +569,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -770,7 +588,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAlertSet" + "$ref": "#/components/schemas/MiqAlertSet" } } } @@ -783,7 +601,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAlertSet" + "$ref": "#/components/schemas/MiqAlertSet" }, { "type": "object", @@ -797,7 +615,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -808,44 +626,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -886,13 +676,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -903,7 +693,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAlertSet" + "$ref": "#/components/schemas/MiqAlertSet" }, { "type": "object", @@ -917,7 +707,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -928,34 +718,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -968,7 +737,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -976,7 +745,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAlertSet" + "$ref": "#/components/schemas/MiqAlertSet" } } } @@ -989,7 +758,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAlertSet" + "$ref": "#/components/schemas/MiqAlertSet" }, { "type": "object", @@ -1003,7 +772,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -1014,48 +783,88 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Update a Alert Definition Profile", + "description": "Updates an existing Alert Definition Profile", + "operationId": "update_alert_definition_profile", + "tags": [ + "Alert Definition Profiles" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MiqAlertSet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/MiqAlertSet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, - "post": { + "patch": { "summary": "Update a Alert Definition Profile", "description": "Updates an existing Alert Definition Profile", "operationId": "update_alert_definition_profile", @@ -1064,7 +873,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -1072,7 +881,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAlertSet" + "$ref": "#/components/schemas/MiqAlertSet" } } } @@ -1085,7 +894,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAlertSet" + "$ref": "#/components/schemas/MiqAlertSet" }, { "type": "object", @@ -1099,7 +908,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -1110,140 +919,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "patch": { - "summary": "Update a Alert Definition Profile", - "description": "Updates an existing Alert Definition Profile", - "operationId": "update_alert_definition_profile", - "tags": [ - "Alert Definition Profiles" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/MiqAlertSet" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/MiqAlertSet" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -1256,42 +941,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -1332,28 +996,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -1380,17 +1044,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqAlert" + "$ref": "#/components/schemas/MiqAlert" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -1398,34 +1062,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -1438,7 +1081,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -1446,7 +1089,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAlert" + "$ref": "#/components/schemas/MiqAlert" } } } @@ -1459,7 +1102,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAlert" + "$ref": "#/components/schemas/MiqAlert" }, { "type": "object", @@ -1473,7 +1116,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -1484,44 +1127,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -1562,16 +1177,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -1582,7 +1197,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAlert" + "$ref": "#/components/schemas/MiqAlert" }, { "type": "object", @@ -1596,7 +1211,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -1607,34 +1222,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -1647,10 +1241,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -1658,7 +1252,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAlert" + "$ref": "#/components/schemas/MiqAlert" } } } @@ -1671,7 +1265,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAlert" + "$ref": "#/components/schemas/MiqAlert" }, { "type": "object", @@ -1685,7 +1279,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -1696,44 +1290,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -1746,45 +1312,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -1825,25 +1370,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -1870,17 +1415,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqAlert" + "$ref": "#/components/schemas/MiqAlert" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -1888,24 +1433,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -1921,7 +1452,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAlert" + "$ref": "#/components/schemas/MiqAlert" } } } @@ -1934,7 +1465,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAlert" + "$ref": "#/components/schemas/MiqAlert" }, { "type": "object", @@ -1948,7 +1479,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -1959,44 +1490,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -2037,13 +1540,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -2054,7 +1557,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAlert" + "$ref": "#/components/schemas/MiqAlert" }, { "type": "object", @@ -2068,7 +1571,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -2079,34 +1582,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -2119,7 +1601,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -2127,7 +1609,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAlert" + "$ref": "#/components/schemas/MiqAlert" } } } @@ -2140,7 +1622,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAlert" + "$ref": "#/components/schemas/MiqAlert" }, { "type": "object", @@ -2154,7 +1636,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -2165,44 +1647,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -2215,42 +1669,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -2291,25 +1724,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -2336,17 +1769,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqAlertStatus" + "$ref": "#/components/schemas/MiqAlertStatus" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -2354,24 +1787,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -2412,13 +1831,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -2429,7 +1848,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAlertStatus" + "$ref": "#/components/schemas/MiqAlertStatus" }, { "type": "object", @@ -2443,7 +1862,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -2454,34 +1873,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -2522,28 +1920,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -2570,17 +1968,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqAlertStatusAction" + "$ref": "#/components/schemas/MiqAlertStatusAction" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -2588,34 +1986,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -2628,7 +2005,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -2636,7 +2013,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAlertStatusAction" + "$ref": "#/components/schemas/MiqAlertStatusAction" } } } @@ -2649,7 +2026,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAlertStatusAction" + "$ref": "#/components/schemas/MiqAlertStatusAction" }, { "type": "object", @@ -2663,7 +2040,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -2674,44 +2051,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -2752,16 +2101,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -2772,7 +2121,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAlertStatusAction" + "$ref": "#/components/schemas/MiqAlertStatusAction" }, { "type": "object", @@ -2786,7 +2135,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -2797,34 +2146,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -2837,10 +2165,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -2848,7 +2176,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAlertStatusAction" + "$ref": "#/components/schemas/MiqAlertStatusAction" } } } @@ -2861,7 +2189,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAlertStatusAction" + "$ref": "#/components/schemas/MiqAlertStatusAction" }, { "type": "object", @@ -2875,7 +2203,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -2886,44 +2214,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -2964,25 +2264,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -3009,17 +2309,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -3027,24 +2327,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -3060,7 +2346,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" } } } @@ -3073,7 +2359,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" }, { "type": "object", @@ -3087,7 +2373,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -3098,44 +2384,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -3176,13 +2434,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -3193,7 +2451,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" }, { "type": "object", @@ -3207,7 +2465,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -3218,34 +2476,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -3258,7 +2495,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -3266,7 +2503,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" } } } @@ -3279,7 +2516,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" }, { "type": "object", @@ -3293,7 +2530,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -3304,44 +2541,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -3354,7 +2563,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -3362,7 +2571,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" } } } @@ -3375,7 +2584,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" }, { "type": "object", @@ -3389,7 +2598,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -3400,44 +2609,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -3450,7 +2631,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -3458,7 +2639,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" } } } @@ -3471,7 +2652,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" }, { "type": "object", @@ -3485,7 +2666,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -3496,44 +2677,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -3546,42 +2699,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -3622,25 +2754,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -3667,17 +2799,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Authentication" + "$ref": "#/components/schemas/Authentication" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -3685,24 +2817,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -3718,7 +2836,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Authentication" + "$ref": "#/components/schemas/Authentication" } } } @@ -3731,7 +2849,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Authentication" + "$ref": "#/components/schemas/Authentication" }, { "type": "object", @@ -3745,7 +2863,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -3756,44 +2874,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -3834,13 +2924,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -3851,7 +2941,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Authentication" + "$ref": "#/components/schemas/Authentication" }, { "type": "object", @@ -3865,7 +2955,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -3876,34 +2966,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -3916,7 +2985,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -3924,7 +2993,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Authentication" + "$ref": "#/components/schemas/Authentication" } } } @@ -3937,7 +3006,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Authentication" + "$ref": "#/components/schemas/Authentication" }, { "type": "object", @@ -3951,7 +3020,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -3962,44 +3031,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -4012,7 +3053,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -4020,7 +3061,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Authentication" + "$ref": "#/components/schemas/Authentication" } } } @@ -4033,7 +3074,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Authentication" + "$ref": "#/components/schemas/Authentication" }, { "type": "object", @@ -4047,7 +3088,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -4058,44 +3099,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -4108,7 +3121,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -4116,7 +3129,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Authentication" + "$ref": "#/components/schemas/Authentication" } } } @@ -4129,7 +3142,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Authentication" + "$ref": "#/components/schemas/Authentication" }, { "type": "object", @@ -4143,7 +3156,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -4154,44 +3167,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -4204,42 +3189,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -4280,25 +3244,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -4325,17 +3289,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqAeDomain" + "$ref": "#/components/schemas/MiqAeDomain" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -4343,134 +3307,99 @@ } }, "401": { - "description": "Unauthorized", + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Automate", + "description": "Returns available HTTP methods and actions", + "operationId": "options_automate", + "tags": [ + "Automate" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/automate/{c_id}": { + "get": { + "summary": "Get a Automate", + "description": "Returns a single Automate by ID", + "operationId": "get_automate", + "tags": [ + "Automate" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" }, - "403": { - "description": "Forbidden", + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Automate", - "description": "Returns available HTTP methods and actions", - "operationId": "options_automate", - "tags": [ - "Automate" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/automate/{c_id}": { - "get": { - "summary": "Get a Automate", - "description": "Returns a single Automate by ID", - "operationId": "get_automate", - "tags": [ - "Automate" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/MiqAeDomain" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/MiqAeDomain" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -4511,25 +3440,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -4556,17 +3485,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqAeClass" + "$ref": "#/components/schemas/MiqAeClass" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -4574,24 +3503,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -4607,7 +3522,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAeClass" + "$ref": "#/components/schemas/MiqAeClass" } } } @@ -4620,7 +3535,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAeClass" + "$ref": "#/components/schemas/MiqAeClass" }, { "type": "object", @@ -4634,7 +3549,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -4645,44 +3560,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -4723,13 +3610,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -4740,7 +3627,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAeClass" + "$ref": "#/components/schemas/MiqAeClass" }, { "type": "object", @@ -4754,7 +3641,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -4765,34 +3652,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -4805,7 +3671,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -4813,7 +3679,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAeClass" + "$ref": "#/components/schemas/MiqAeClass" } } } @@ -4826,7 +3692,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAeClass" + "$ref": "#/components/schemas/MiqAeClass" }, { "type": "object", @@ -4840,7 +3706,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -4851,44 +3717,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -4901,42 +3739,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -4977,25 +3794,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -5022,17 +3839,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqAeDomain" + "$ref": "#/components/schemas/MiqAeDomain" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -5040,24 +3857,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -5073,7 +3876,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAeDomain" + "$ref": "#/components/schemas/MiqAeDomain" } } } @@ -5086,7 +3889,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAeDomain" + "$ref": "#/components/schemas/MiqAeDomain" }, { "type": "object", @@ -5100,7 +3903,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -5111,44 +3914,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -5189,13 +3964,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -5206,7 +3981,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAeDomain" + "$ref": "#/components/schemas/MiqAeDomain" }, { "type": "object", @@ -5220,7 +3995,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -5231,34 +4006,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -5271,7 +4025,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -5279,7 +4033,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAeDomain" + "$ref": "#/components/schemas/MiqAeDomain" } } } @@ -5292,7 +4046,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAeDomain" + "$ref": "#/components/schemas/MiqAeDomain" }, { "type": "object", @@ -5306,7 +4060,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -5317,44 +4071,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -5367,7 +4093,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -5375,7 +4101,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAeDomain" + "$ref": "#/components/schemas/MiqAeDomain" } } } @@ -5388,7 +4114,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAeDomain" + "$ref": "#/components/schemas/MiqAeDomain" }, { "type": "object", @@ -5402,7 +4128,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -5413,44 +4139,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -5463,7 +4161,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -5471,7 +4169,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAeDomain" + "$ref": "#/components/schemas/MiqAeDomain" } } } @@ -5484,7 +4182,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAeDomain" + "$ref": "#/components/schemas/MiqAeDomain" }, { "type": "object", @@ -5498,7 +4196,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -5509,44 +4207,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -5559,42 +4229,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -5635,25 +4284,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -5680,17 +4329,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/AutomateWorkspace" + "$ref": "#/components/schemas/AutomateWorkspace" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -5698,24 +4347,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -5731,7 +4366,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/AutomateWorkspace" + "$ref": "#/components/schemas/AutomateWorkspace" } } } @@ -5744,7 +4379,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/AutomateWorkspace" + "$ref": "#/components/schemas/AutomateWorkspace" }, { "type": "object", @@ -5758,7 +4393,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -5769,44 +4404,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -5847,13 +4454,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -5864,7 +4471,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/AutomateWorkspace" + "$ref": "#/components/schemas/AutomateWorkspace" }, { "type": "object", @@ -5878,7 +4485,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -5889,34 +4496,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -5929,7 +4515,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -5937,7 +4523,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/AutomateWorkspace" + "$ref": "#/components/schemas/AutomateWorkspace" } } } @@ -5950,7 +4536,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/AutomateWorkspace" + "$ref": "#/components/schemas/AutomateWorkspace" }, { "type": "object", @@ -5964,7 +4550,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -5975,44 +4561,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -6053,25 +4611,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -6098,17 +4656,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/AutomationRequest" + "$ref": "#/components/schemas/AutomationRequest" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -6116,24 +4674,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -6149,7 +4693,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/AutomationRequest" + "$ref": "#/components/schemas/AutomationRequest" } } } @@ -6162,7 +4706,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/AutomationRequest" + "$ref": "#/components/schemas/AutomationRequest" }, { "type": "object", @@ -6176,7 +4720,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -6187,44 +4731,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -6265,13 +4781,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -6282,7 +4798,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/AutomationRequest" + "$ref": "#/components/schemas/AutomationRequest" }, { "type": "object", @@ -6296,7 +4812,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -6307,34 +4823,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -6347,7 +4842,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -6355,7 +4850,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/AutomationRequest" + "$ref": "#/components/schemas/AutomationRequest" } } } @@ -6368,7 +4863,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/AutomationRequest" + "$ref": "#/components/schemas/AutomationRequest" }, { "type": "object", @@ -6382,7 +4877,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -6393,44 +4888,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -6471,28 +4938,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -6519,17 +4986,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -6537,34 +5004,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -6577,7 +5023,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -6585,7 +5031,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" } } } @@ -6598,7 +5044,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" }, { "type": "object", @@ -6612,7 +5058,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -6623,44 +5069,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -6701,16 +5119,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -6721,7 +5139,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" }, { "type": "object", @@ -6735,7 +5153,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -6746,34 +5164,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -6786,10 +5183,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -6797,7 +5194,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" } } } @@ -6810,7 +5207,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" }, { "type": "object", @@ -6824,7 +5221,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -6835,44 +5232,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -6913,25 +5282,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -6958,17 +5327,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/AvailabilityZone" + "$ref": "#/components/schemas/AvailabilityZone" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -6976,24 +5345,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -7009,7 +5364,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/AvailabilityZone" + "$ref": "#/components/schemas/AvailabilityZone" } } } @@ -7022,7 +5377,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/AvailabilityZone" + "$ref": "#/components/schemas/AvailabilityZone" }, { "type": "object", @@ -7036,7 +5391,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -7047,44 +5402,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -7125,13 +5452,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -7142,7 +5469,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/AvailabilityZone" + "$ref": "#/components/schemas/AvailabilityZone" }, { "type": "object", @@ -7156,7 +5483,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -7167,34 +5494,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -7207,7 +5513,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -7229,7 +5535,7 @@ ] }, { - "$ref": "/components/schemas/AvailabilityZone" + "$ref": "#/components/schemas/AvailabilityZone" } ] } @@ -7244,7 +5550,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/AvailabilityZone" + "$ref": "#/components/schemas/AvailabilityZone" }, { "type": "object", @@ -7258,7 +5564,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -7269,44 +5575,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -7347,28 +5625,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -7395,17 +5673,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -7413,34 +5691,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -7453,7 +5710,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -7461,7 +5718,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -7474,7 +5731,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -7488,7 +5745,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -7499,44 +5756,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -7577,16 +5806,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -7597,7 +5826,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -7611,7 +5840,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -7622,34 +5851,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -7662,10 +5870,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -7673,7 +5881,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -7686,7 +5894,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -7700,7 +5908,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -7711,44 +5919,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -7761,45 +5941,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -7840,25 +5999,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -7885,17 +6044,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Category" + "$ref": "#/components/schemas/Category" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -7903,24 +6062,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -7936,7 +6081,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Category" + "$ref": "#/components/schemas/Category" } } } @@ -7949,7 +6094,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Category" + "$ref": "#/components/schemas/Category" }, { "type": "object", @@ -7963,7 +6108,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -7974,44 +6119,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -8052,13 +6169,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -8069,7 +6186,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Category" + "$ref": "#/components/schemas/Category" }, { "type": "object", @@ -8083,7 +6200,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -8094,34 +6211,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -8134,7 +6230,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -8142,7 +6238,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Category" + "$ref": "#/components/schemas/Category" } } } @@ -8155,7 +6251,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Category" + "$ref": "#/components/schemas/Category" }, { "type": "object", @@ -8169,7 +6265,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -8180,44 +6276,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -8230,42 +6298,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -8306,28 +6353,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -8354,17 +6401,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -8372,34 +6419,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -8412,7 +6438,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -8420,7 +6446,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -8433,7 +6459,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -8447,7 +6473,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -8458,44 +6484,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -8536,16 +6534,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -8556,7 +6554,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -8570,7 +6568,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -8581,34 +6579,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -8621,10 +6598,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -8632,7 +6609,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -8645,7 +6622,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -8659,7 +6636,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -8670,44 +6647,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -8720,45 +6669,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -8799,25 +6727,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -8844,17 +6772,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ChargeableField" + "$ref": "#/components/schemas/ChargeableField" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -8862,24 +6790,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -8920,13 +6834,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -8937,7 +6851,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ChargeableField" + "$ref": "#/components/schemas/ChargeableField" }, { "type": "object", @@ -8951,7 +6865,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -8962,34 +6876,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -9030,25 +6923,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -9075,17 +6968,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ChargebackRate" + "$ref": "#/components/schemas/ChargebackRate" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -9093,24 +6986,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -9126,7 +7005,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ChargebackRate" + "$ref": "#/components/schemas/ChargebackRate" } } } @@ -9139,7 +7018,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ChargebackRate" + "$ref": "#/components/schemas/ChargebackRate" }, { "type": "object", @@ -9153,7 +7032,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -9164,44 +7043,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -9242,13 +7093,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -9259,7 +7110,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ChargebackRate" + "$ref": "#/components/schemas/ChargebackRate" }, { "type": "object", @@ -9273,7 +7124,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -9284,34 +7135,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -9324,7 +7154,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -9332,7 +7162,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ChargebackRate" + "$ref": "#/components/schemas/ChargebackRate" } } } @@ -9345,7 +7175,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ChargebackRate" + "$ref": "#/components/schemas/ChargebackRate" }, { "type": "object", @@ -9359,7 +7189,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -9370,44 +7200,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -9420,7 +7222,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -9428,7 +7230,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ChargebackRate" + "$ref": "#/components/schemas/ChargebackRate" } } } @@ -9441,7 +7243,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ChargebackRate" + "$ref": "#/components/schemas/ChargebackRate" }, { "type": "object", @@ -9455,7 +7257,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -9466,44 +7268,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -9516,7 +7290,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -9524,7 +7298,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ChargebackRate" + "$ref": "#/components/schemas/ChargebackRate" } } } @@ -9537,7 +7311,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ChargebackRate" + "$ref": "#/components/schemas/ChargebackRate" }, { "type": "object", @@ -9551,7 +7325,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -9562,44 +7336,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -9612,42 +7358,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -9688,28 +7413,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -9736,17 +7461,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -9754,34 +7479,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -9794,7 +7498,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -9802,7 +7506,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" } } } @@ -9815,7 +7519,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" }, { "type": "object", @@ -9829,7 +7533,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -9840,44 +7544,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -9918,16 +7594,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -9938,7 +7614,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" }, { "type": "object", @@ -9952,7 +7628,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -9963,34 +7639,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -10003,10 +7658,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -10014,7 +7669,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" } } } @@ -10027,7 +7682,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" }, { "type": "object", @@ -10041,7 +7696,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -10052,44 +7707,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -10102,10 +7729,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -10113,7 +7740,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" } } } @@ -10126,7 +7753,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" }, { "type": "object", @@ -10140,7 +7767,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -10151,44 +7778,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -10201,10 +7800,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -10212,7 +7811,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" } } } @@ -10225,7 +7824,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" }, { "type": "object", @@ -10239,7 +7838,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -10250,44 +7849,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -10300,45 +7871,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -10379,25 +7929,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -10424,17 +7974,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CloudDatabaseFlavor" + "$ref": "#/components/schemas/CloudDatabaseFlavor" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -10442,24 +7992,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -10500,13 +8036,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -10517,7 +8053,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudDatabaseFlavor" + "$ref": "#/components/schemas/CloudDatabaseFlavor" }, { "type": "object", @@ -10531,7 +8067,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -10542,34 +8078,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -10610,25 +8125,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -10655,17 +8170,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CloudDatabase" + "$ref": "#/components/schemas/CloudDatabase" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -10673,24 +8188,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -10706,7 +8207,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudDatabase" + "$ref": "#/components/schemas/CloudDatabase" } } } @@ -10719,7 +8220,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudDatabase" + "$ref": "#/components/schemas/CloudDatabase" }, { "type": "object", @@ -10733,7 +8234,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -10744,44 +8245,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -10822,13 +8295,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -10839,7 +8312,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudDatabase" + "$ref": "#/components/schemas/CloudDatabase" }, { "type": "object", @@ -10853,7 +8326,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -10864,34 +8337,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -10904,7 +8356,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -10912,7 +8364,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudDatabase" + "$ref": "#/components/schemas/CloudDatabase" } } } @@ -10925,7 +8377,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudDatabase" + "$ref": "#/components/schemas/CloudDatabase" }, { "type": "object", @@ -10939,7 +8391,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -10950,44 +8402,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -11000,7 +8424,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -11008,7 +8432,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudDatabase" + "$ref": "#/components/schemas/CloudDatabase" } } } @@ -11021,7 +8445,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudDatabase" + "$ref": "#/components/schemas/CloudDatabase" }, { "type": "object", @@ -11035,7 +8459,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -11046,44 +8470,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -11096,7 +8492,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -11104,7 +8500,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudDatabase" + "$ref": "#/components/schemas/CloudDatabase" } } } @@ -11117,7 +8513,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudDatabase" + "$ref": "#/components/schemas/CloudDatabase" }, { "type": "object", @@ -11131,7 +8527,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -11142,44 +8538,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -11192,42 +8560,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -11268,25 +8615,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -11313,17 +8660,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CloudNetwork" + "$ref": "#/components/schemas/CloudNetwork" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -11331,24 +8678,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -11364,7 +8697,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudNetwork" + "$ref": "#/components/schemas/CloudNetwork" } } } @@ -11377,7 +8710,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudNetwork" + "$ref": "#/components/schemas/CloudNetwork" }, { "type": "object", @@ -11391,7 +8724,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -11402,44 +8735,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -11480,13 +8785,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -11497,7 +8802,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudNetwork" + "$ref": "#/components/schemas/CloudNetwork" }, { "type": "object", @@ -11511,7 +8816,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -11522,47 +8827,94 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", + "$ref": "#/components/responses/Forbidden" + } + } + }, + "put": { + "summary": "Update a Cloud Network", + "description": "Updates an existing Cloud Network", + "operationId": "update_cloud_network", + "tags": [ + "Cloud Networks" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CloudNetwork" + } + } + } + }, + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/CloudNetwork" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, - "put": { - "summary": "Update a Cloud Network", - "description": "Updates an existing Cloud Network", - "operationId": "update_cloud_network", + "post": { + "summary": "Perform action on a Cloud Network", + "description": "Executes a custom action on a specific Cloud Network", + "operationId": "action_cloud_network", "tags": [ "Cloud Networks" ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -11570,7 +8922,23 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudNetwork" + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "#/components/schemas/CloudNetwork" + } + ] } } } @@ -11583,7 +8951,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudNetwork" + "$ref": "#/components/schemas/CloudNetwork" }, { "type": "object", @@ -11597,7 +8965,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -11608,156 +8976,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Perform action on a Cloud Network", - "description": "Executes a custom action on a specific Cloud Network", - "operationId": "action_cloud_network", - "tags": [ - "Cloud Networks" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "action": { - "type": "string", - "description": "Action to perform" - } - }, - "required": [ - "action" - ] - }, - { - "$ref": "/components/schemas/CloudNetwork" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/CloudNetwork" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -11770,7 +8998,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -11778,7 +9006,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudNetwork" + "$ref": "#/components/schemas/CloudNetwork" } } } @@ -11791,7 +9019,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudNetwork" + "$ref": "#/components/schemas/CloudNetwork" }, { "type": "object", @@ -11805,7 +9033,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -11816,44 +9044,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -11866,42 +9066,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -11942,28 +9121,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -11990,17 +9169,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -12008,34 +9187,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -12048,7 +9206,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -12056,7 +9214,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -12069,7 +9227,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -12083,7 +9241,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -12094,44 +9252,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -12172,16 +9302,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -12192,7 +9322,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -12206,7 +9336,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -12217,34 +9347,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -12257,10 +9366,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -12268,7 +9377,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -12281,7 +9390,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -12295,7 +9404,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -12306,44 +9415,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -12356,45 +9437,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -12435,25 +9495,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -12480,17 +9540,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CloudObjectStoreContainer" + "$ref": "#/components/schemas/CloudObjectStoreContainer" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -12498,24 +9558,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -12531,7 +9577,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudObjectStoreContainer" + "$ref": "#/components/schemas/CloudObjectStoreContainer" } } } @@ -12544,7 +9590,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudObjectStoreContainer" + "$ref": "#/components/schemas/CloudObjectStoreContainer" }, { "type": "object", @@ -12558,7 +9604,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -12569,44 +9615,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -12647,13 +9665,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -12664,7 +9682,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudObjectStoreContainer" + "$ref": "#/components/schemas/CloudObjectStoreContainer" }, { "type": "object", @@ -12678,7 +9696,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -12689,34 +9707,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -12729,7 +9726,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -12751,7 +9748,7 @@ ] }, { - "$ref": "/components/schemas/CloudObjectStoreContainer" + "$ref": "#/components/schemas/CloudObjectStoreContainer" } ] } @@ -12766,7 +9763,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudObjectStoreContainer" + "$ref": "#/components/schemas/CloudObjectStoreContainer" }, { "type": "object", @@ -12780,7 +9777,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -12791,44 +9788,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -12869,25 +9838,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -12914,17 +9883,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CloudObjectStoreObject" + "$ref": "#/components/schemas/CloudObjectStoreObject" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -12932,24 +9901,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -12965,7 +9920,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudObjectStoreObject" + "$ref": "#/components/schemas/CloudObjectStoreObject" } } } @@ -12978,7 +9933,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudObjectStoreObject" + "$ref": "#/components/schemas/CloudObjectStoreObject" }, { "type": "object", @@ -12992,7 +9947,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -13003,44 +9958,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -13081,13 +10008,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -13098,7 +10025,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudObjectStoreObject" + "$ref": "#/components/schemas/CloudObjectStoreObject" }, { "type": "object", @@ -13112,7 +10039,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -13123,68 +10050,217 @@ } }, "404": { - "description": "Not Found", + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Update a Cloud Object Store Object", + "description": "Updates an existing Cloud Object Store Object", + "operationId": "update_cloud_object_store_object", + "tags": [ + "Cloud Object Store Objects" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CloudObjectStoreObject" + } + } + } + }, + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/CloudObjectStoreObject" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, "401": { - "description": "Unauthorized", + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Cloud Object Store Objects", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_object_store_objects", + "tags": [ + "Cloud Object Store Objects" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/cloud_subnets": { + "get": { + "summary": "List Cloud Subnets", + "description": "Returns a paginated list of Cloud Subnets", + "operationId": "list_cloud_subnets", + "tags": [ + "Cloud Subnets" + ], + "parameters": [ + { + "$ref": "#/components/parameters/expand" }, - "403": { - "description": "Forbidden", + { + "$ref": "#/components/parameters/attributes" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/sortBy" + }, + { + "$ref": "#/components/parameters/sortOrder" + }, + { + "$ref": "#/components/parameters/offset" + }, + { + "$ref": "#/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "cloud_subnets" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CloudSubnet" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Action" + } + }, + "links": { + "$ref": "#/components/schemas/CollectionLinks" + } + } } } } + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, "post": { - "summary": "Update a Cloud Object Store Object", - "description": "Updates an existing Cloud Object Store Object", - "operationId": "update_cloud_object_store_object", + "summary": "Create a Cloud Subnet", + "description": "Creates a new Cloud Subnet", + "operationId": "create_cloud_subnet", "tags": [ - "Cloud Object Store Objects" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - } + "Cloud Subnets" ], "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudObjectStoreObject" + "$ref": "#/components/schemas/CloudSubnet" } } } }, "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created", "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudObjectStoreObject" + "$ref": "#/components/schemas/CloudSubnet" }, { "type": "object", @@ -13198,219 +10274,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Cloud Object Store Objects", - "description": "Returns available HTTP methods and actions", - "operationId": "options_cloud_object_store_objects", - "tags": [ - "Cloud Object Store Objects" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/cloud_subnets": { - "get": { - "summary": "List Cloud Subnets", - "description": "Returns a paginated list of Cloud Subnets", - "operationId": "list_cloud_subnets", - "tags": [ - "Cloud Subnets" - ], - "parameters": [ - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - }, - { - "$ref": "/components/parameters/filter" - }, - { - "$ref": "/components/parameters/sortBy" - }, - { - "$ref": "/components/parameters/sortOrder" - }, - { - "$ref": "/components/parameters/offset" - }, - { - "$ref": "/components/parameters/limit" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "cloud_subnets" - }, - "count": { - "type": "integer" - }, - "subcount": { - "type": "integer" - }, - "pages": { - "type": "integer" - }, - "resources": { - "type": "array", - "items": { - "$ref": "/components/schemas/CloudSubnet" - } - }, - "actions": { - "type": "array", - "items": { - "$ref": "/components/schemas/Action" - } - }, - "links": { - "$ref": "/components/schemas/CollectionLinks" - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Create a Cloud Subnet", - "description": "Creates a new Cloud Subnet", - "operationId": "create_cloud_subnet", - "tags": [ - "Cloud Subnets" - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/CloudSubnet" - } - } - } - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/CloudSubnet" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -13421,44 +10285,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -13499,13 +10335,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -13516,7 +10352,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudSubnet" + "$ref": "#/components/schemas/CloudSubnet" }, { "type": "object", @@ -13530,7 +10366,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -13541,34 +10377,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -13581,7 +10396,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -13589,7 +10404,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudSubnet" + "$ref": "#/components/schemas/CloudSubnet" } } } @@ -13602,7 +10417,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudSubnet" + "$ref": "#/components/schemas/CloudSubnet" }, { "type": "object", @@ -13616,7 +10431,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -13627,44 +10442,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -13677,7 +10464,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -13699,7 +10486,7 @@ ] }, { - "$ref": "/components/schemas/CloudSubnet" + "$ref": "#/components/schemas/CloudSubnet" } ] } @@ -13714,7 +10501,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudSubnet" + "$ref": "#/components/schemas/CloudSubnet" }, { "type": "object", @@ -13728,7 +10515,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -13739,44 +10526,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -13789,7 +10548,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -13797,7 +10556,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudSubnet" + "$ref": "#/components/schemas/CloudSubnet" } } } @@ -13810,7 +10569,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudSubnet" + "$ref": "#/components/schemas/CloudSubnet" }, { "type": "object", @@ -13824,7 +10583,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -13835,44 +10594,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -13885,42 +10616,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -13961,28 +10671,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -14009,17 +10719,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -14027,34 +10737,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -14067,7 +10756,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -14075,7 +10764,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -14088,7 +10777,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -14102,7 +10791,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -14113,44 +10802,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -14191,16 +10852,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -14211,7 +10872,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -14225,7 +10886,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -14236,34 +10897,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -14276,10 +10916,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -14287,7 +10927,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -14300,7 +10940,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -14314,7 +10954,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -14325,44 +10965,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -14375,45 +10987,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -14454,25 +11045,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -14499,17 +11090,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -14517,24 +11108,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -14550,7 +11127,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" } } } @@ -14563,7 +11140,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" }, { "type": "object", @@ -14577,7 +11154,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -14588,44 +11165,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -14666,13 +11215,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -14683,7 +11232,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" }, { "type": "object", @@ -14697,7 +11246,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -14708,34 +11257,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -14748,7 +11276,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -14756,7 +11284,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" } } } @@ -14769,7 +11297,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" }, { "type": "object", @@ -14783,7 +11311,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -14794,44 +11322,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -14844,7 +11344,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -14852,7 +11352,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" } } } @@ -14865,7 +11365,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" }, { "type": "object", @@ -14879,7 +11379,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -14890,44 +11390,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -14940,7 +11412,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -14948,7 +11420,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" } } } @@ -14961,7 +11433,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" }, { "type": "object", @@ -14975,7 +11447,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -14986,44 +11458,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -15036,42 +11480,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -15112,25 +11535,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -15157,17 +11580,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -15175,24 +11598,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -15208,7 +11617,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" } } } @@ -15221,7 +11630,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" }, { "type": "object", @@ -15235,7 +11644,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -15246,44 +11655,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -15324,13 +11705,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -15341,7 +11722,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" }, { "type": "object", @@ -15355,7 +11736,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -15366,34 +11747,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -15406,7 +11766,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -15414,7 +11774,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" } } } @@ -15427,7 +11787,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" }, { "type": "object", @@ -15441,7 +11801,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -15452,44 +11812,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -15502,7 +11834,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -15524,7 +11856,7 @@ ] }, { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" } ] } @@ -15539,7 +11871,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" }, { "type": "object", @@ -15553,7 +11885,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -15564,44 +11896,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -15614,7 +11918,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -15622,7 +11926,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" } } } @@ -15635,7 +11939,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" }, { "type": "object", @@ -15649,7 +11953,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -15660,44 +11964,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -15710,42 +11986,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -15786,28 +12041,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -15834,17 +12089,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/NetworkService" + "$ref": "#/components/schemas/NetworkService" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -15852,34 +12107,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -15892,7 +12126,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -15900,7 +12134,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/NetworkService" + "$ref": "#/components/schemas/NetworkService" } } } @@ -15913,7 +12147,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/NetworkService" + "$ref": "#/components/schemas/NetworkService" }, { "type": "object", @@ -15927,7 +12161,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -15938,44 +12172,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -16016,16 +12222,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -16036,7 +12242,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/NetworkService" + "$ref": "#/components/schemas/NetworkService" }, { "type": "object", @@ -16050,7 +12256,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -16061,34 +12267,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -16101,10 +12286,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -16112,7 +12297,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/NetworkService" + "$ref": "#/components/schemas/NetworkService" } } } @@ -16125,7 +12310,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/NetworkService" + "$ref": "#/components/schemas/NetworkService" }, { "type": "object", @@ -16139,7 +12324,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -16150,44 +12335,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -16200,45 +12357,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -16279,28 +12415,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -16327,17 +12463,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -16345,34 +12481,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -16385,7 +12500,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -16393,7 +12508,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" } } } @@ -16406,7 +12521,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" }, { "type": "object", @@ -16420,7 +12535,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -16431,44 +12546,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -16509,16 +12596,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -16529,7 +12616,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" }, { "type": "object", @@ -16543,7 +12630,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -16554,34 +12641,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -16594,10 +12660,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -16605,7 +12671,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" } } } @@ -16618,7 +12684,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" }, { "type": "object", @@ -16632,7 +12698,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -16643,44 +12709,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -16721,28 +12759,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -16769,17 +12807,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/SecurityPolicy" + "$ref": "#/components/schemas/SecurityPolicy" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -16787,47 +12825,189 @@ } }, "404": { - "description": "Not Found", + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Create a Security_Policy", + "description": "Creates a new Security_Policy", + "operationId": "create_cloud_tenant_security_policy", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SecurityPolicy" + } + } + } + }, + "responses": { + "201": { + "description": "Created", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/SecurityPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, "401": { - "description": "Unauthorized", + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Security_Policies", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_policies", + "tags": [ + "Security_Policies" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/cloud_tenants/{c_id}/security_policies/{s_id}": { + "get": { + "summary": "Get a Security_Policy", + "description": "Returns a single Security_Policy by ID", + "operationId": "get_cloud_tenant_security_policy", + "tags": [ + "Cloud Tenants" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" }, - "403": { - "description": "Forbidden", + { + "$ref": "#/components/parameters/subResourceId" + }, + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/SecurityPolicy" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, "post": { - "summary": "Create a Security_Policy", - "description": "Creates a new Security_Policy", - "operationId": "create_cloud_tenant_security_policy", + "summary": "Update a Security_Policy", + "description": "Updates an existing Security_Policy", + "operationId": "update_cloud_tenant_security_policy", "tags": [ "Cloud Tenants" ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -16835,20 +13015,20 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/SecurityPolicy" + "$ref": "#/components/schemas/SecurityPolicy" } } } }, "responses": { - "201": { - "description": "Created", + "200": { + "description": "Success", "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityPolicy" + "$ref": "#/components/schemas/SecurityPolicy" }, { "type": "object", @@ -16862,7 +13042,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -16873,256 +13053,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Security_Policies", - "description": "Returns available HTTP methods and actions", - "operationId": "options_security_policies", - "tags": [ - "Security_Policies" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/cloud_tenants/{c_id}/security_policies/{s_id}": { - "get": { - "summary": "Get a Security_Policy", - "description": "Returns a single Security_Policy by ID", - "operationId": "get_cloud_tenant_security_policy", - "tags": [ - "Cloud Tenants" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/subResourceId" - }, - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/SecurityPolicy" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Update a Security_Policy", - "description": "Updates an existing Security_Policy", - "operationId": "update_cloud_tenant_security_policy", - "tags": [ - "Cloud Tenants" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/subResourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/SecurityPolicy" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/SecurityPolicy" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -17135,45 +13075,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -17214,28 +13133,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -17262,17 +13181,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -17280,34 +13199,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -17320,7 +13218,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -17328,7 +13226,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -17341,7 +13239,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -17355,7 +13253,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -17366,44 +13264,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -17444,16 +13314,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -17464,7 +13334,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -17478,7 +13348,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -17489,34 +13359,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -17529,10 +13378,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -17540,7 +13389,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -17553,7 +13402,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -17567,7 +13416,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -17578,44 +13427,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -17628,45 +13449,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -17707,25 +13507,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -17752,17 +13552,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -17770,24 +13570,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -17803,7 +13589,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" } } } @@ -17816,7 +13602,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" }, { "type": "object", @@ -17830,7 +13616,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -17841,44 +13627,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -17919,13 +13677,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -17936,7 +13694,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" }, { "type": "object", @@ -17950,7 +13708,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -17961,34 +13719,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -18001,7 +13738,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -18009,7 +13746,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" } } } @@ -18022,7 +13759,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" }, { "type": "object", @@ -18036,7 +13773,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -18047,44 +13784,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -18097,7 +13806,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -18105,7 +13814,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" } } } @@ -18118,7 +13827,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" }, { "type": "object", @@ -18132,7 +13841,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -18143,44 +13852,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -18193,7 +13874,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -18201,7 +13882,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" } } } @@ -18214,7 +13895,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" }, { "type": "object", @@ -18228,7 +13909,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -18239,44 +13920,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -18289,42 +13942,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -18365,25 +13997,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -18410,17 +14042,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CloudVolumeType" + "$ref": "#/components/schemas/CloudVolumeType" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -18428,24 +14060,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -18486,13 +14104,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -18503,7 +14121,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudVolumeType" + "$ref": "#/components/schemas/CloudVolumeType" }, { "type": "object", @@ -18517,7 +14135,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -18528,34 +14146,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -18596,25 +14193,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -18641,17 +14238,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CloudVolume" + "$ref": "#/components/schemas/CloudVolume" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -18659,24 +14256,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -18692,7 +14275,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudVolume" + "$ref": "#/components/schemas/CloudVolume" } } } @@ -18705,7 +14288,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudVolume" + "$ref": "#/components/schemas/CloudVolume" }, { "type": "object", @@ -18719,7 +14302,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -18730,44 +14313,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -18808,13 +14363,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -18825,7 +14380,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudVolume" + "$ref": "#/components/schemas/CloudVolume" }, { "type": "object", @@ -18839,7 +14394,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -18850,34 +14405,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -18890,7 +14424,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -18898,7 +14432,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudVolume" + "$ref": "#/components/schemas/CloudVolume" } } } @@ -18911,7 +14445,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudVolume" + "$ref": "#/components/schemas/CloudVolume" }, { "type": "object", @@ -18925,7 +14459,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -18936,44 +14470,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -18986,7 +14492,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -19008,7 +14514,7 @@ ] }, { - "$ref": "/components/schemas/CloudVolume" + "$ref": "#/components/schemas/CloudVolume" } ] } @@ -19023,7 +14529,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudVolume" + "$ref": "#/components/schemas/CloudVolume" }, { "type": "object", @@ -19037,7 +14543,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -19048,44 +14554,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -19098,7 +14576,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -19106,7 +14584,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudVolume" + "$ref": "#/components/schemas/CloudVolume" } } } @@ -19119,7 +14597,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudVolume" + "$ref": "#/components/schemas/CloudVolume" }, { "type": "object", @@ -19133,7 +14611,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -19144,44 +14622,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -19194,42 +14644,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -19270,28 +14699,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -19318,17 +14747,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -19336,34 +14765,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -19376,7 +14784,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -19384,7 +14792,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -19397,7 +14805,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -19411,7 +14819,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -19422,44 +14830,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -19500,16 +14880,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -19520,7 +14900,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -19534,7 +14914,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -19545,34 +14925,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -19585,10 +14944,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -19596,7 +14955,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -19609,7 +14968,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -19623,7 +14982,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -19634,44 +14993,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -19684,45 +15015,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -19763,28 +15073,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -19811,17 +15121,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -19829,34 +15139,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -19869,7 +15158,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -19877,7 +15166,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" } } } @@ -19890,7 +15179,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" }, { "type": "object", @@ -19904,7 +15193,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -19915,44 +15204,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -19993,16 +15254,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -20013,7 +15274,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" }, { "type": "object", @@ -20027,7 +15288,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -20038,34 +15299,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -20078,10 +15318,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -20089,7 +15329,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" } } } @@ -20102,7 +15342,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" }, { "type": "object", @@ -20116,7 +15356,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -20127,44 +15367,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -20177,10 +15389,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -20188,7 +15400,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" } } } @@ -20201,7 +15413,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" }, { "type": "object", @@ -20215,7 +15427,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -20226,44 +15438,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -20276,10 +15460,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -20287,7 +15471,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" } } } @@ -20300,7 +15484,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudVolumeSnapshot" + "$ref": "#/components/schemas/CloudVolumeSnapshot" }, { "type": "object", @@ -20314,7 +15498,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -20325,44 +15509,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -20375,45 +15531,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -20454,25 +15589,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -20499,17 +15634,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/EmsCluster" + "$ref": "#/components/schemas/EmsCluster" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -20517,24 +15652,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -20550,7 +15671,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/EmsCluster" + "$ref": "#/components/schemas/EmsCluster" } } } @@ -20563,7 +15684,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/EmsCluster" + "$ref": "#/components/schemas/EmsCluster" }, { "type": "object", @@ -20577,7 +15698,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -20588,44 +15709,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -20666,13 +15759,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -20683,7 +15776,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/EmsCluster" + "$ref": "#/components/schemas/EmsCluster" }, { "type": "object", @@ -20697,7 +15790,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -20708,34 +15801,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -20748,7 +15820,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -20770,7 +15842,7 @@ ] }, { - "$ref": "/components/schemas/EmsCluster" + "$ref": "#/components/schemas/EmsCluster" } ] } @@ -20785,7 +15857,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/EmsCluster" + "$ref": "#/components/schemas/EmsCluster" }, { "type": "object", @@ -20799,7 +15871,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -20810,44 +15882,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -20888,28 +15932,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -20936,17 +15980,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -20954,34 +15998,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -20994,7 +16017,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -21002,7 +16025,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -21015,7 +16038,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -21029,7 +16052,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -21040,44 +16063,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -21118,16 +16113,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -21138,7 +16133,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -21152,7 +16147,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -21163,34 +16158,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -21203,10 +16177,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -21214,7 +16188,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -21227,7 +16201,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -21241,7 +16215,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -21252,44 +16226,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -21302,45 +16248,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -21381,28 +16306,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -21429,17 +16354,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -21447,34 +16372,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -21487,7 +16391,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -21495,7 +16399,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } } } @@ -21508,7 +16412,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -21522,7 +16426,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -21533,44 +16437,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -21611,16 +16487,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -21631,7 +16507,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -21645,7 +16521,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -21656,34 +16532,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -21696,10 +16551,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -21707,7 +16562,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } } } @@ -21720,7 +16575,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -21734,7 +16589,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -21745,44 +16600,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -21795,45 +16622,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -21874,28 +16680,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -21922,17 +16728,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -21940,34 +16746,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -21980,7 +16765,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -21988,7 +16773,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -22001,7 +16786,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -22015,7 +16800,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -22026,44 +16811,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -22104,16 +16861,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -22124,7 +16881,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -22138,7 +16895,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -22149,50 +16906,100 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", + "$ref": "#/components/responses/Forbidden" + } + } + }, + "put": { + "summary": "Update a Policy Profile", + "description": "Updates an existing Policy Profile", + "operationId": "put_cluster_policy_profile", + "tags": [ + "Clusters" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MiqPolicySet" + } + } + } + }, + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/MiqPolicySet" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, - "put": { + "post": { "summary": "Update a Policy Profile", "description": "Updates an existing Policy Profile", - "operationId": "put_cluster_policy_profile", + "operationId": "update_cluster_policy_profile", "tags": [ "Clusters" ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -22200,7 +17007,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -22213,7 +17020,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -22227,7 +17034,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -22238,143 +17045,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Update a Policy Profile", - "description": "Updates an existing Policy Profile", - "operationId": "update_cluster_policy_profile", - "tags": [ - "Clusters" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/subResourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/MiqPolicySet" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/MiqPolicySet" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -22387,10 +17067,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -22398,7 +17078,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -22411,7 +17091,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -22425,7 +17105,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -22436,44 +17116,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -22486,45 +17138,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -22565,25 +17196,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -22610,17 +17241,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Condition" + "$ref": "#/components/schemas/Condition" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -22628,24 +17259,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -22661,7 +17278,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Condition" + "$ref": "#/components/schemas/Condition" } } } @@ -22674,7 +17291,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Condition" + "$ref": "#/components/schemas/Condition" }, { "type": "object", @@ -22688,7 +17305,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -22699,44 +17316,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -22777,13 +17366,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -22794,7 +17383,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Condition" + "$ref": "#/components/schemas/Condition" }, { "type": "object", @@ -22808,7 +17397,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -22819,34 +17408,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -22859,7 +17427,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -22867,7 +17435,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Condition" + "$ref": "#/components/schemas/Condition" } } } @@ -22880,7 +17448,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Condition" + "$ref": "#/components/schemas/Condition" }, { "type": "object", @@ -22894,7 +17462,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -22905,44 +17473,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -22955,42 +17495,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -23031,25 +17550,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -23076,17 +17595,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ConfigurationProfile" + "$ref": "#/components/schemas/ConfigurationProfile" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -23094,24 +17613,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -23152,13 +17657,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -23169,7 +17674,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfigurationProfile" + "$ref": "#/components/schemas/ConfigurationProfile" }, { "type": "object", @@ -23183,7 +17688,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -23194,34 +17699,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -23262,25 +17746,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -23307,17 +17791,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/ConfigurationScriptPayload" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -23325,24 +17809,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -23358,7 +17828,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/ConfigurationScriptPayload" } } } @@ -23371,7 +17841,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/ConfigurationScriptPayload" }, { "type": "object", @@ -23385,7 +17855,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -23396,44 +17866,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -23474,13 +17916,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -23491,7 +17933,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/ConfigurationScriptPayload" }, { "type": "object", @@ -23505,7 +17947,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -23516,34 +17958,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -23556,7 +17977,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -23564,7 +17985,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/ConfigurationScriptPayload" } } } @@ -23577,7 +17998,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/ConfigurationScriptPayload" }, { "type": "object", @@ -23591,7 +18012,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -23602,44 +18023,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -23652,7 +18045,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -23660,7 +18053,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/ConfigurationScriptPayload" } } } @@ -23673,7 +18066,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/ConfigurationScriptPayload" }, { "type": "object", @@ -23687,7 +18080,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -23698,57 +18091,210 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "patch": { + "summary": "Update a Configuration Script Payload", + "description": "Updates an existing Configuration Script Payload", + "operationId": "update_configuration_script_payload", + "tags": [ + "Configuration Script Payloads" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConfigurationScriptPayload" + } + } + } + }, + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ValidationError" + "allOf": [ + { + "$ref": "#/components/schemas/ConfigurationScriptPayload" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, "401": { - "description": "Unauthorized", + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Configuration Script Payloads", + "description": "Returns available HTTP methods and actions", + "operationId": "options_configuration_script_payloads", + "tags": [ + "Configuration Script Payloads" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/configuration_script_payloads/{c_id}/authentications": { + "get": { + "summary": "List Authentications for Configuration Script Payload", + "description": "Returns a paginated list of Authentications", + "operationId": "list_configuration_script_payload_authentications", + "tags": [ + "Configuration Script Payloads" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" }, - "403": { - "description": "Forbidden", + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/sortBy" + }, + { + "$ref": "#/components/parameters/sortOrder" + }, + { + "$ref": "#/components/parameters/offset" + }, + { + "$ref": "#/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "authentications" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Authentication" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Action" + } + }, + "links": { + "$ref": "#/components/schemas/CollectionLinks" + } + } } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, - "patch": { - "summary": "Update a Configuration Script Payload", - "description": "Updates an existing Configuration Script Payload", - "operationId": "update_configuration_script_payload", + "post": { + "summary": "Create a Authentication", + "description": "Creates a new Authentication", + "operationId": "create_configuration_script_payload_authentication", "tags": [ "Configuration Script Payloads" ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -23756,20 +18302,20 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/Authentication" } } } }, "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created", "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/Authentication" }, { "type": "object", @@ -23783,7 +18329,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -23794,274 +18340,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Configuration Script Payloads", - "description": "Returns available HTTP methods and actions", - "operationId": "options_configuration_script_payloads", - "tags": [ - "Configuration Script Payloads" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/configuration_script_payloads/{c_id}/authentications": { - "get": { - "summary": "List Authentications for Configuration Script Payload", - "description": "Returns a paginated list of Authentications", - "operationId": "list_configuration_script_payload_authentications", - "tags": [ - "Configuration Script Payloads" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - }, - { - "$ref": "/components/parameters/filter" - }, - { - "$ref": "/components/parameters/sortBy" - }, - { - "$ref": "/components/parameters/sortOrder" - }, - { - "$ref": "/components/parameters/offset" - }, - { - "$ref": "/components/parameters/limit" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "authentications" - }, - "count": { - "type": "integer" - }, - "subcount": { - "type": "integer" - }, - "pages": { - "type": "integer" - }, - "resources": { - "type": "array", - "items": { - "$ref": "/components/schemas/Authentication" - } - }, - "actions": { - "type": "array", - "items": { - "$ref": "/components/schemas/Action" - } - }, - "links": { - "$ref": "/components/schemas/CollectionLinks" - } - } - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Create a Authentication", - "description": "Creates a new Authentication", - "operationId": "create_configuration_script_payload_authentication", - "tags": [ - "Configuration Script Payloads" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Authentication" - } - } - } - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/Authentication" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -24102,16 +18390,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -24122,7 +18410,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Authentication" + "$ref": "#/components/schemas/Authentication" }, { "type": "object", @@ -24136,7 +18424,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -24147,34 +18435,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -24187,10 +18454,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -24198,7 +18465,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Authentication" + "$ref": "#/components/schemas/Authentication" } } } @@ -24211,7 +18478,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Authentication" + "$ref": "#/components/schemas/Authentication" }, { "type": "object", @@ -24225,7 +18492,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -24236,44 +18503,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -24286,10 +18525,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -24297,7 +18536,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Authentication" + "$ref": "#/components/schemas/Authentication" } } } @@ -24310,7 +18549,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Authentication" + "$ref": "#/components/schemas/Authentication" }, { "type": "object", @@ -24324,7 +18563,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -24335,44 +18574,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -24385,10 +18596,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -24396,7 +18607,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Authentication" + "$ref": "#/components/schemas/Authentication" } } } @@ -24409,7 +18620,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Authentication" + "$ref": "#/components/schemas/Authentication" }, { "type": "object", @@ -24423,7 +18634,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -24434,44 +18645,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -24484,45 +18667,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -24563,25 +18725,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -24608,17 +18770,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ConfigurationScriptSource" + "$ref": "#/components/schemas/ConfigurationScriptSource" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -24626,24 +18788,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -24659,7 +18807,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ConfigurationScriptSource" + "$ref": "#/components/schemas/ConfigurationScriptSource" } } } @@ -24672,7 +18820,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfigurationScriptSource" + "$ref": "#/components/schemas/ConfigurationScriptSource" }, { "type": "object", @@ -24686,7 +18834,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -24697,44 +18845,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -24775,13 +18895,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -24792,7 +18912,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfigurationScriptSource" + "$ref": "#/components/schemas/ConfigurationScriptSource" }, { "type": "object", @@ -24806,7 +18926,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -24817,34 +18937,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -24857,7 +18956,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -24865,7 +18964,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ConfigurationScriptSource" + "$ref": "#/components/schemas/ConfigurationScriptSource" } } } @@ -24878,7 +18977,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfigurationScriptSource" + "$ref": "#/components/schemas/ConfigurationScriptSource" }, { "type": "object", @@ -24892,7 +18991,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -24903,44 +19002,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -24953,7 +19024,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -24961,7 +19032,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ConfigurationScriptSource" + "$ref": "#/components/schemas/ConfigurationScriptSource" } } } @@ -24974,7 +19045,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfigurationScriptSource" + "$ref": "#/components/schemas/ConfigurationScriptSource" }, { "type": "object", @@ -24988,7 +19059,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -24999,44 +19070,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -25049,7 +19092,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -25057,7 +19100,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ConfigurationScriptSource" + "$ref": "#/components/schemas/ConfigurationScriptSource" } } } @@ -25070,7 +19113,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfigurationScriptSource" + "$ref": "#/components/schemas/ConfigurationScriptSource" }, { "type": "object", @@ -25084,7 +19127,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -25095,44 +19138,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -25145,42 +19160,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -25221,28 +19215,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -25269,17 +19263,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/ConfigurationScriptPayload" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -25287,34 +19281,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -25327,7 +19300,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -25335,7 +19308,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/ConfigurationScriptPayload" } } } @@ -25348,7 +19321,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/ConfigurationScriptPayload" }, { "type": "object", @@ -25362,7 +19335,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -25373,44 +19346,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -25451,16 +19396,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -25471,7 +19416,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/ConfigurationScriptPayload" }, { "type": "object", @@ -25485,7 +19430,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -25496,34 +19441,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -25536,10 +19460,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -25547,7 +19471,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/ConfigurationScriptPayload" } } } @@ -25560,7 +19484,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/ConfigurationScriptPayload" }, { "type": "object", @@ -25574,7 +19498,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -25585,44 +19509,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -25635,10 +19531,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -25646,7 +19542,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/ConfigurationScriptPayload" } } } @@ -25659,7 +19555,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/ConfigurationScriptPayload" }, { "type": "object", @@ -25673,7 +19569,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -25684,44 +19580,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -25734,10 +19602,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -25745,7 +19613,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/ConfigurationScriptPayload" } } } @@ -25758,7 +19626,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfigurationScriptPayload" + "$ref": "#/components/schemas/ConfigurationScriptPayload" }, { "type": "object", @@ -25772,7 +19640,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -25783,44 +19651,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -25861,25 +19701,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -25906,17 +19746,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ConfigurationScript" + "$ref": "#/components/schemas/ConfigurationScript" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -25924,24 +19764,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -25982,13 +19808,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -25999,7 +19825,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfigurationScript" + "$ref": "#/components/schemas/ConfigurationScript" }, { "type": "object", @@ -26013,7 +19839,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -26024,34 +19850,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -26092,25 +19897,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -26137,17 +19942,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ConfiguredSystem" + "$ref": "#/components/schemas/ConfiguredSystem" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -26155,24 +19960,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -26213,13 +20004,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -26230,7 +20021,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfiguredSystem" + "$ref": "#/components/schemas/ConfiguredSystem" }, { "type": "object", @@ -26244,7 +20035,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -26255,34 +20046,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -26323,25 +20093,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -26368,17 +20138,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ContainerGroup" + "$ref": "#/components/schemas/ContainerGroup" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -26386,24 +20156,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -26419,7 +20175,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ContainerGroup" + "$ref": "#/components/schemas/ContainerGroup" } } } @@ -26432,7 +20188,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ContainerGroup" + "$ref": "#/components/schemas/ContainerGroup" }, { "type": "object", @@ -26446,7 +20202,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -26457,44 +20213,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -26535,13 +20263,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -26552,7 +20280,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ContainerGroup" + "$ref": "#/components/schemas/ContainerGroup" }, { "type": "object", @@ -26566,7 +20294,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -26577,34 +20305,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -26617,7 +20324,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -26639,7 +20346,7 @@ ] }, { - "$ref": "/components/schemas/ContainerGroup" + "$ref": "#/components/schemas/ContainerGroup" } ] } @@ -26654,7 +20361,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ContainerGroup" + "$ref": "#/components/schemas/ContainerGroup" }, { "type": "object", @@ -26668,7 +20375,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -26679,44 +20386,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -26757,25 +20436,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -26802,17 +20481,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ContainerImage" + "$ref": "#/components/schemas/ContainerImage" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -26820,24 +20499,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -26853,7 +20518,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ContainerImage" + "$ref": "#/components/schemas/ContainerImage" } } } @@ -26866,7 +20531,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ContainerImage" + "$ref": "#/components/schemas/ContainerImage" }, { "type": "object", @@ -26880,7 +20545,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -26891,44 +20556,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -26969,13 +20606,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -26986,7 +20623,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ContainerImage" + "$ref": "#/components/schemas/ContainerImage" }, { "type": "object", @@ -27000,7 +20637,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -27011,34 +20648,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -27051,7 +20667,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -27073,7 +20689,7 @@ ] }, { - "$ref": "/components/schemas/ContainerImage" + "$ref": "#/components/schemas/ContainerImage" } ] } @@ -27088,7 +20704,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ContainerImage" + "$ref": "#/components/schemas/ContainerImage" }, { "type": "object", @@ -27102,7 +20718,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -27113,44 +20729,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -27191,28 +20779,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -27239,17 +20827,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -27257,34 +20845,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -27297,7 +20864,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -27305,7 +20872,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } } } @@ -27318,130 +20885,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomAttribute" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Custom Attributes", - "description": "Returns available HTTP methods and actions", - "operationId": "options_custom_attributes", - "tags": [ - "Custom Attributes" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/container_images/{c_id}/custom_attributes/{s_id}": { - "get": { - "summary": "Get a Custom Attribute", - "description": "Returns a single Custom Attribute by ID", - "operationId": "get_container_image_custom_attribute", - "tags": [ - "Container Images" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/subResourceId" - }, - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" }, { "type": "object", @@ -27455,7 +20899,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -27466,34 +20910,108 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Custom Attributes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_attributes", + "tags": [ + "Custom Attributes" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/container_images/{c_id}/custom_attributes/{s_id}": { + "get": { + "summary": "Get a Custom Attribute", + "description": "Returns a single Custom Attribute by ID", + "operationId": "get_container_image_custom_attribute", + "tags": [ + "Container Images" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" }, - "403": { - "description": "Forbidden", + { + "$ref": "#/components/parameters/subResourceId" + }, + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -27506,10 +21024,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -27517,7 +21035,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } } } @@ -27530,7 +21048,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" }, { "type": "object", @@ -27544,7 +21062,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -27555,44 +21073,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -27605,45 +21095,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -27684,25 +21153,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -27729,17 +21198,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ContainerNode" + "$ref": "#/components/schemas/ContainerNode" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -27747,24 +21216,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -27780,7 +21235,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ContainerNode" + "$ref": "#/components/schemas/ContainerNode" } } } @@ -27793,7 +21248,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ContainerNode" + "$ref": "#/components/schemas/ContainerNode" }, { "type": "object", @@ -27807,7 +21262,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -27818,44 +21273,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -27896,13 +21323,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -27913,7 +21340,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ContainerNode" + "$ref": "#/components/schemas/ContainerNode" }, { "type": "object", @@ -27927,7 +21354,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -27938,34 +21365,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -27978,7 +21384,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -28000,7 +21406,7 @@ ] }, { - "$ref": "/components/schemas/ContainerNode" + "$ref": "#/components/schemas/ContainerNode" } ] } @@ -28015,7 +21421,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ContainerNode" + "$ref": "#/components/schemas/ContainerNode" }, { "type": "object", @@ -28029,7 +21435,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -28040,44 +21446,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -28118,25 +21496,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -28163,17 +21541,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ContainerProject" + "$ref": "#/components/schemas/ContainerProject" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -28181,24 +21559,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -28214,7 +21578,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ContainerProject" + "$ref": "#/components/schemas/ContainerProject" } } } @@ -28227,7 +21591,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ContainerProject" + "$ref": "#/components/schemas/ContainerProject" }, { "type": "object", @@ -28241,7 +21605,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -28252,44 +21616,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -28330,13 +21666,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -28347,7 +21683,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ContainerProject" + "$ref": "#/components/schemas/ContainerProject" }, { "type": "object", @@ -28361,45 +21697,24 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -28412,7 +21727,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -28420,7 +21735,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ContainerProject" + "$ref": "#/components/schemas/ContainerProject" } } } @@ -28433,7 +21748,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ContainerProject" + "$ref": "#/components/schemas/ContainerProject" }, { "type": "object", @@ -28447,7 +21762,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -28458,44 +21773,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -28508,7 +21795,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -28530,7 +21817,7 @@ ] }, { - "$ref": "/components/schemas/ContainerProject" + "$ref": "#/components/schemas/ContainerProject" } ] } @@ -28545,7 +21832,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ContainerProject" + "$ref": "#/components/schemas/ContainerProject" }, { "type": "object", @@ -28559,7 +21846,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -28570,44 +21857,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -28620,7 +21879,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -28628,7 +21887,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ContainerProject" + "$ref": "#/components/schemas/ContainerProject" } } } @@ -28641,7 +21900,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ContainerProject" + "$ref": "#/components/schemas/ContainerProject" }, { "type": "object", @@ -28655,7 +21914,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -28666,44 +21925,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -28716,42 +21947,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -28792,28 +22002,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -28840,17 +22050,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -28858,34 +22068,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -28898,7 +22087,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -28906,7 +22095,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -28919,7 +22108,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -28933,7 +22122,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -28944,44 +22133,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -29022,16 +22183,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -29042,7 +22203,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -29056,7 +22217,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -29067,34 +22228,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -29107,10 +22247,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -29118,7 +22258,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -29131,7 +22271,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -29145,7 +22285,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -29156,44 +22296,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -29206,45 +22318,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -29285,28 +22376,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -29333,17 +22424,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -29351,34 +22442,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -29391,7 +22461,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -29399,7 +22469,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } } } @@ -29412,7 +22482,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" }, { "type": "object", @@ -29426,7 +22496,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -29437,44 +22507,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -29515,16 +22557,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -29535,7 +22577,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" }, { "type": "object", @@ -29549,7 +22591,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -29560,34 +22602,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -29600,10 +22621,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -29611,7 +22632,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } } } @@ -29624,7 +22645,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" }, { "type": "object", @@ -29638,7 +22659,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -29649,44 +22670,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -29699,45 +22692,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -29778,25 +22750,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -29823,17 +22795,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ContainerTemplate" + "$ref": "#/components/schemas/ContainerTemplate" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -29841,24 +22813,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -29874,7 +22832,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ContainerTemplate" + "$ref": "#/components/schemas/ContainerTemplate" } } } @@ -29887,229 +22845,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ContainerTemplate" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Container Templates", - "description": "Returns available HTTP methods and actions", - "operationId": "options_container_templates", - "tags": [ - "Container Templates" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/container_templates/{c_id}": { - "get": { - "summary": "Get a Container Template", - "description": "Returns a single Container Template by ID", - "operationId": "get_container_template", - "tags": [ - "Container Templates" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/ContainerTemplate" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Perform action on a Container Template", - "description": "Executes a custom action on a specific Container Template", - "operationId": "action_container_template", - "tags": [ - "Container Templates" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "action": { - "type": "string", - "description": "Action to perform" - } - }, - "required": [ - "action" - ] - }, - { - "$ref": "/components/schemas/ContainerTemplate" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/ContainerTemplate" + "$ref": "#/components/schemas/ContainerTemplate" }, { "type": "object", @@ -30123,7 +22859,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -30133,45 +22869,190 @@ } } }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "400": { + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Container Templates", + "description": "Returns available HTTP methods and actions", + "operationId": "options_container_templates", + "tags": [ + "Container Templates" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ValidationError" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/container_templates/{c_id}": { + "get": { + "summary": "Get a Container Template", + "description": "Returns a single Container Template by ID", + "operationId": "get_container_template", + "tags": [ + "Container Templates" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" }, - "401": { - "description": "Unauthorized", + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/ContainerTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, "403": { - "description": "Forbidden", + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Perform action on a Container Template", + "description": "Executes a custom action on a specific Container Template", + "operationId": "action_container_template", + "tags": [ + "Container Templates" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "#/components/schemas/ContainerTemplate" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/ContainerTemplate" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -30212,25 +23093,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -30257,17 +23138,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ContainerVolume" + "$ref": "#/components/schemas/ContainerVolume" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -30275,24 +23156,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -30308,7 +23175,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ContainerVolume" + "$ref": "#/components/schemas/ContainerVolume" } } } @@ -30321,7 +23188,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ContainerVolume" + "$ref": "#/components/schemas/ContainerVolume" }, { "type": "object", @@ -30335,7 +23202,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -30346,44 +23213,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -30424,13 +23263,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -30441,7 +23280,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ContainerVolume" + "$ref": "#/components/schemas/ContainerVolume" }, { "type": "object", @@ -30455,7 +23294,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -30466,34 +23305,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -30506,7 +23324,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -30528,7 +23346,7 @@ ] }, { - "$ref": "/components/schemas/ContainerVolume" + "$ref": "#/components/schemas/ContainerVolume" } ] } @@ -30543,7 +23361,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ContainerVolume" + "$ref": "#/components/schemas/ContainerVolume" }, { "type": "object", @@ -30557,7 +23375,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -30568,44 +23386,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -30646,25 +23436,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -30691,17 +23481,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Container" + "$ref": "#/components/schemas/Container" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -30709,24 +23499,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -30742,7 +23518,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Container" + "$ref": "#/components/schemas/Container" } } } @@ -30755,7 +23531,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Container" + "$ref": "#/components/schemas/Container" }, { "type": "object", @@ -30769,7 +23545,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -30780,44 +23556,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -30858,13 +23606,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -30875,7 +23623,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Container" + "$ref": "#/components/schemas/Container" }, { "type": "object", @@ -30889,7 +23637,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -30900,34 +23648,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -30940,7 +23667,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -30948,7 +23675,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Container" + "$ref": "#/components/schemas/Container" } } } @@ -30961,7 +23688,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Container" + "$ref": "#/components/schemas/Container" }, { "type": "object", @@ -30975,7 +23702,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -30986,44 +23713,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -31064,25 +23763,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -31109,17 +23808,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Currency" + "$ref": "#/components/schemas/Currency" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -31127,24 +23826,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -31185,13 +23870,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -31202,7 +23887,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Currency" + "$ref": "#/components/schemas/Currency" }, { "type": "object", @@ -31216,7 +23901,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -31227,34 +23912,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -31295,25 +23959,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -31340,17 +24004,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CustomButtonSet" + "$ref": "#/components/schemas/CustomButtonSet" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -31358,24 +24022,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -31391,7 +24041,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomButtonSet" + "$ref": "#/components/schemas/CustomButtonSet" } } } @@ -31404,7 +24054,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomButtonSet" + "$ref": "#/components/schemas/CustomButtonSet" }, { "type": "object", @@ -31418,7 +24068,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -31429,44 +24079,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -31507,13 +24129,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -31524,7 +24146,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomButtonSet" + "$ref": "#/components/schemas/CustomButtonSet" }, { "type": "object", @@ -31538,7 +24160,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -31549,34 +24171,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -31589,7 +24190,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -31597,7 +24198,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomButtonSet" + "$ref": "#/components/schemas/CustomButtonSet" } } } @@ -31610,7 +24211,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomButtonSet" + "$ref": "#/components/schemas/CustomButtonSet" }, { "type": "object", @@ -31624,7 +24225,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -31635,44 +24236,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -31685,7 +24258,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -31693,7 +24266,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomButtonSet" + "$ref": "#/components/schemas/CustomButtonSet" } } } @@ -31706,7 +24279,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomButtonSet" + "$ref": "#/components/schemas/CustomButtonSet" }, { "type": "object", @@ -31720,7 +24293,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -31731,44 +24304,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -31781,7 +24326,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -31789,7 +24334,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomButtonSet" + "$ref": "#/components/schemas/CustomButtonSet" } } } @@ -31802,7 +24347,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomButtonSet" + "$ref": "#/components/schemas/CustomButtonSet" }, { "type": "object", @@ -31816,7 +24361,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -31827,44 +24372,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -31877,42 +24394,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -31953,25 +24449,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -31998,17 +24494,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CustomButton" + "$ref": "#/components/schemas/CustomButton" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -32016,24 +24512,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -32049,7 +24531,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomButton" + "$ref": "#/components/schemas/CustomButton" } } } @@ -32062,7 +24544,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomButton" + "$ref": "#/components/schemas/CustomButton" }, { "type": "object", @@ -32076,7 +24558,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -32087,44 +24569,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -32165,13 +24619,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -32182,7 +24636,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomButton" + "$ref": "#/components/schemas/CustomButton" }, { "type": "object", @@ -32196,45 +24650,24 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" + } + } + ] } } } }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -32247,7 +24680,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -32255,7 +24688,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomButton" + "$ref": "#/components/schemas/CustomButton" } } } @@ -32268,7 +24701,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomButton" + "$ref": "#/components/schemas/CustomButton" }, { "type": "object", @@ -32282,7 +24715,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -32293,44 +24726,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -32343,7 +24748,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -32351,7 +24756,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomButton" + "$ref": "#/components/schemas/CustomButton" } } } @@ -32364,7 +24769,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomButton" + "$ref": "#/components/schemas/CustomButton" }, { "type": "object", @@ -32378,7 +24783,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -32389,44 +24794,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -32439,7 +24816,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -32447,7 +24824,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomButton" + "$ref": "#/components/schemas/CustomButton" } } } @@ -32460,7 +24837,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomButton" + "$ref": "#/components/schemas/CustomButton" }, { "type": "object", @@ -32474,7 +24851,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -32485,44 +24862,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -32535,42 +24884,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -32611,25 +24939,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -32656,17 +24984,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CustomizationScript" + "$ref": "#/components/schemas/CustomizationScript" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -32674,24 +25002,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -32707,7 +25021,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomizationScript" + "$ref": "#/components/schemas/CustomizationScript" } } } @@ -32720,7 +25034,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomizationScript" + "$ref": "#/components/schemas/CustomizationScript" }, { "type": "object", @@ -32734,7 +25048,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -32745,44 +25059,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -32823,13 +25109,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -32840,7 +25126,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomizationScript" + "$ref": "#/components/schemas/CustomizationScript" }, { "type": "object", @@ -32854,7 +25140,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -32865,34 +25151,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -32905,7 +25170,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -32913,7 +25178,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomizationScript" + "$ref": "#/components/schemas/CustomizationScript" } } } @@ -32926,7 +25191,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomizationScript" + "$ref": "#/components/schemas/CustomizationScript" }, { "type": "object", @@ -32940,7 +25205,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -32951,44 +25216,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -33029,25 +25266,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -33074,17 +25311,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -33092,24 +25329,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -33125,7 +25348,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" } } } @@ -33138,7 +25361,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" }, { "type": "object", @@ -33152,7 +25375,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -33163,44 +25386,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -33241,13 +25436,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -33258,7 +25453,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" }, { "type": "object", @@ -33272,7 +25467,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -33283,34 +25478,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -33323,7 +25497,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -33331,7 +25505,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" } } } @@ -33344,7 +25518,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" }, { "type": "object", @@ -33358,7 +25532,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -33369,44 +25543,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -33419,7 +25565,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -33427,7 +25573,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" } } } @@ -33440,7 +25586,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" }, { "type": "object", @@ -33454,7 +25600,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -33465,44 +25611,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -33515,7 +25633,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -33523,7 +25641,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" } } } @@ -33536,7 +25654,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" }, { "type": "object", @@ -33550,7 +25668,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -33561,44 +25679,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -33611,42 +25701,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -33677,246 +25746,112 @@ } } }, - "/api/{version}/data_stores": { - "get": { - "summary": "List Datastores", - "description": "Returns a paginated list of Datastores", - "operationId": "list_data_stores", - "tags": [ - "Datastores" - ], - "parameters": [ - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - }, - { - "$ref": "/components/parameters/filter" - }, - { - "$ref": "/components/parameters/sortBy" - }, - { - "$ref": "/components/parameters/sortOrder" - }, - { - "$ref": "/components/parameters/offset" - }, - { - "$ref": "/components/parameters/limit" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "data_stores" - }, - "count": { - "type": "integer" - }, - "subcount": { - "type": "integer" - }, - "pages": { - "type": "integer" - }, - "resources": { - "type": "array", - "items": { - "$ref": "/components/schemas/Storage" - } - }, - "actions": { - "type": "array", - "items": { - "$ref": "/components/schemas/Action" - } - }, - "links": { - "$ref": "/components/schemas/CollectionLinks" - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Create a Datastore", - "description": "Creates a new Datastore", - "operationId": "create_data_store", - "tags": [ - "Datastores" - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Storage" - } - } - } - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/Storage" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Datastores", - "description": "Returns available HTTP methods and actions", - "operationId": "options_data_stores", - "tags": [ - "Datastores" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/data_stores/{c_id}": { + "/api/{version}/data_stores": { "get": { - "summary": "Get a Datastore", - "description": "Returns a single Datastore by ID", - "operationId": "get_data_store", + "summary": "List Datastores", + "description": "Returns a paginated list of Datastores", + "operationId": "list_data_stores", "tags": [ "Datastores" ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/sortBy" + }, + { + "$ref": "#/components/parameters/sortOrder" + }, + { + "$ref": "#/components/parameters/offset" + }, + { + "$ref": "#/components/parameters/limit" } ], "responses": { "200": { "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "data_stores" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Storage" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Action" + } + }, + "links": { + "$ref": "#/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Create a Datastore", + "description": "Creates a new Datastore", + "operationId": "create_data_store", + "tags": [ + "Datastores" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Storage" + } + } + } + }, + "responses": { + "201": { + "description": "Created", "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "/components/schemas/Storage" + "$ref": "#/components/schemas/Storage" }, { "type": "object", @@ -33930,7 +25865,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -33940,35 +25875,106 @@ } } }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "400": { + "$ref": "#/components/responses/BadRequest" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Datastores", + "description": "Returns available HTTP methods and actions", + "operationId": "options_data_stores", + "tags": [ + "Datastores" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/data_stores/{c_id}": { + "get": { + "summary": "Get a Datastore", + "description": "Returns a single Datastore by ID", + "operationId": "get_data_store", + "tags": [ + "Datastores" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" }, - "403": { - "description": "Forbidden", + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/Storage" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -33981,7 +25987,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -34003,7 +26009,7 @@ ] }, { - "$ref": "/components/schemas/Storage" + "$ref": "#/components/schemas/Storage" } ] } @@ -34018,7 +26024,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Storage" + "$ref": "#/components/schemas/Storage" }, { "type": "object", @@ -34032,7 +26038,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -34043,44 +26049,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -34093,42 +26071,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -34169,28 +26126,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -34217,17 +26174,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -34235,34 +26192,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -34275,7 +26211,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -34283,7 +26219,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -34296,7 +26232,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -34310,7 +26246,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -34321,44 +26257,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -34399,16 +26307,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -34419,7 +26327,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -34433,7 +26341,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -34444,34 +26352,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -34484,10 +26371,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -34495,7 +26382,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -34508,7 +26395,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -34522,7 +26409,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -34533,44 +26420,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -34583,45 +26442,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -34662,25 +26500,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -34707,17 +26545,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqEnterprise" + "$ref": "#/components/schemas/MiqEnterprise" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -34725,24 +26563,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -34783,13 +26607,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -34800,7 +26624,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqEnterprise" + "$ref": "#/components/schemas/MiqEnterprise" }, { "type": "object", @@ -34814,7 +26638,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -34825,34 +26649,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -34893,25 +26696,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -34938,17 +26741,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqEventDefinitionSet" + "$ref": "#/components/schemas/MiqEventDefinitionSet" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -34956,24 +26759,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -34989,7 +26778,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqEventDefinitionSet" + "$ref": "#/components/schemas/MiqEventDefinitionSet" } } } @@ -35002,7 +26791,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqEventDefinitionSet" + "$ref": "#/components/schemas/MiqEventDefinitionSet" }, { "type": "object", @@ -35016,7 +26805,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -35027,44 +26816,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -35105,13 +26866,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -35122,7 +26883,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqEventDefinitionSet" + "$ref": "#/components/schemas/MiqEventDefinitionSet" }, { "type": "object", @@ -35136,7 +26897,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -35147,34 +26908,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -35187,7 +26927,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -35195,7 +26935,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqEventDefinitionSet" + "$ref": "#/components/schemas/MiqEventDefinitionSet" } } } @@ -35208,7 +26948,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqEventDefinitionSet" + "$ref": "#/components/schemas/MiqEventDefinitionSet" }, { "type": "object", @@ -35222,7 +26962,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -35233,44 +26973,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -35311,28 +27023,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -35359,17 +27071,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqEventDefinition" + "$ref": "#/components/schemas/MiqEventDefinition" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -35377,34 +27089,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -35417,7 +27108,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -35425,7 +27116,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqEventDefinition" + "$ref": "#/components/schemas/MiqEventDefinition" } } } @@ -35438,7 +27129,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqEventDefinition" + "$ref": "#/components/schemas/MiqEventDefinition" }, { "type": "object", @@ -35452,7 +27143,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -35463,44 +27154,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -35541,16 +27204,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -35561,7 +27224,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqEventDefinition" + "$ref": "#/components/schemas/MiqEventDefinition" }, { "type": "object", @@ -35575,7 +27238,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -35586,34 +27249,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -35626,10 +27268,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -35637,7 +27279,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqEventDefinition" + "$ref": "#/components/schemas/MiqEventDefinition" } } } @@ -35650,7 +27292,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqEventDefinition" + "$ref": "#/components/schemas/MiqEventDefinition" }, { "type": "object", @@ -35664,7 +27306,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -35675,44 +27317,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -35753,25 +27367,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -35798,17 +27412,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -35816,24 +27430,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -35849,7 +27449,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" } } } @@ -35862,7 +27462,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" }, { "type": "object", @@ -35876,7 +27476,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -35887,44 +27487,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -35965,13 +27537,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -35982,7 +27554,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" }, { "type": "object", @@ -35996,7 +27568,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -36007,34 +27579,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -36047,7 +27598,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -36055,7 +27606,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" } } } @@ -36068,7 +27619,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" }, { "type": "object", @@ -36082,7 +27633,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -36093,44 +27644,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -36171,25 +27694,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -36216,17 +27739,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqEventDefinition" + "$ref": "#/components/schemas/MiqEventDefinition" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -36234,24 +27757,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -36267,7 +27776,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqEventDefinition" + "$ref": "#/components/schemas/MiqEventDefinition" } } } @@ -36280,7 +27789,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqEventDefinition" + "$ref": "#/components/schemas/MiqEventDefinition" }, { "type": "object", @@ -36294,7 +27803,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -36305,44 +27814,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -36383,13 +27864,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -36400,7 +27881,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqEventDefinition" + "$ref": "#/components/schemas/MiqEventDefinition" }, { "type": "object", @@ -36414,7 +27895,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -36425,34 +27906,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -36465,7 +27925,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -36473,7 +27933,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqEventDefinition" + "$ref": "#/components/schemas/MiqEventDefinition" } } } @@ -36486,7 +27946,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqEventDefinition" + "$ref": "#/components/schemas/MiqEventDefinition" }, { "type": "object", @@ -36500,7 +27960,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -36511,44 +27971,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -36589,25 +28021,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -36634,17 +28066,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqProductFeature" + "$ref": "#/components/schemas/MiqProductFeature" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -36652,24 +28084,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -36685,7 +28103,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqProductFeature" + "$ref": "#/components/schemas/MiqProductFeature" } } } @@ -36698,7 +28116,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqProductFeature" + "$ref": "#/components/schemas/MiqProductFeature" }, { "type": "object", @@ -36712,7 +28130,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -36723,44 +28141,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -36801,13 +28191,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -36818,7 +28208,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqProductFeature" + "$ref": "#/components/schemas/MiqProductFeature" }, { "type": "object", @@ -36832,7 +28222,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -36843,34 +28233,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -36883,7 +28252,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -36891,7 +28260,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqProductFeature" + "$ref": "#/components/schemas/MiqProductFeature" } } } @@ -36904,7 +28273,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqProductFeature" + "$ref": "#/components/schemas/MiqProductFeature" }, { "type": "object", @@ -36918,7 +28287,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -36929,44 +28298,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -37007,25 +28348,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -37052,17 +28393,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/FirmwareRegistry" + "$ref": "#/components/schemas/FirmwareRegistry" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -37070,24 +28411,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -37103,7 +28430,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/FirmwareRegistry" + "$ref": "#/components/schemas/FirmwareRegistry" } } } @@ -37116,7 +28443,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/FirmwareRegistry" + "$ref": "#/components/schemas/FirmwareRegistry" }, { "type": "object", @@ -37130,7 +28457,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -37141,44 +28468,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -37219,13 +28518,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -37236,7 +28535,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/FirmwareRegistry" + "$ref": "#/components/schemas/FirmwareRegistry" }, { "type": "object", @@ -37250,7 +28549,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -37261,34 +28560,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -37301,7 +28579,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -37309,7 +28587,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/FirmwareRegistry" + "$ref": "#/components/schemas/FirmwareRegistry" } } } @@ -37322,267 +28600,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/FirmwareRegistry" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "delete": { - "summary": "Delete a Firmware Registry", - "description": "Deletes an existing Firmware Registry", - "operationId": "delete_firmware_registry", - "tags": [ - "Firmware Registries" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Firmware Registries", - "description": "Returns available HTTP methods and actions", - "operationId": "options_firmware_registries", - "tags": [ - "Firmware Registries" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/firmwares": { - "get": { - "summary": "List Firmwares", - "description": "Returns a paginated list of Firmwares", - "operationId": "list_firmwares", - "tags": [ - "Firmwares" - ], - "parameters": [ - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - }, - { - "$ref": "/components/parameters/filter" - }, - { - "$ref": "/components/parameters/sortBy" - }, - { - "$ref": "/components/parameters/sortOrder" - }, - { - "$ref": "/components/parameters/offset" - }, - { - "$ref": "/components/parameters/limit" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "firmwares" - }, - "count": { - "type": "integer" - }, - "subcount": { - "type": "integer" - }, - "pages": { - "type": "integer" - }, - "resources": { - "type": "array", - "items": { - "$ref": "/components/schemas/Firmware" - } - }, - "actions": { - "type": "array", - "items": { - "$ref": "/components/schemas/Action" - } - }, - "links": { - "$ref": "/components/schemas/CollectionLinks" - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Create a Firmware", - "description": "Creates a new Firmware", - "operationId": "create_firmware", - "tags": [ - "Firmwares" - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Firmware" - } - } - } - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/Firmware" + "$ref": "#/components/schemas/FirmwareRegistry" }, { "type": "object", @@ -37596,7 +28614,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -37606,45 +28624,214 @@ } } }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "404": { + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "delete": { + "summary": "Delete a Firmware Registry", + "description": "Deletes an existing Firmware Registry", + "operationId": "delete_firmware_registry", + "tags": [ + "Firmware Registries" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/NoContent" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Firmware Registries", + "description": "Returns available HTTP methods and actions", + "operationId": "options_firmware_registries", + "tags": [ + "Firmware Registries" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ValidationError" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/firmwares": { + "get": { + "summary": "List Firmwares", + "description": "Returns a paginated list of Firmwares", + "operationId": "list_firmwares", + "tags": [ + "Firmwares" + ], + "parameters": [ + { + "$ref": "#/components/parameters/expand" }, - "401": { - "description": "Unauthorized", + { + "$ref": "#/components/parameters/attributes" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/sortBy" + }, + { + "$ref": "#/components/parameters/sortOrder" + }, + { + "$ref": "#/components/parameters/offset" + }, + { + "$ref": "#/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "firmwares" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Firmware" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Action" + } + }, + "links": { + "$ref": "#/components/schemas/CollectionLinks" + } + } } } } }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, "403": { - "description": "Forbidden", + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Create a Firmware", + "description": "Creates a new Firmware", + "operationId": "create_firmware", + "tags": [ + "Firmwares" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Firmware" + } + } + } + }, + "responses": { + "201": { + "description": "Created", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/Firmware" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "400": { + "$ref": "#/components/responses/BadRequest" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -37685,13 +28872,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -37702,7 +28889,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Firmware" + "$ref": "#/components/schemas/Firmware" }, { "type": "object", @@ -37716,7 +28903,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -37727,34 +28914,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -37767,7 +28933,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -37775,7 +28941,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Firmware" + "$ref": "#/components/schemas/Firmware" } } } @@ -37788,7 +28954,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Firmware" + "$ref": "#/components/schemas/Firmware" }, { "type": "object", @@ -37802,7 +28968,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -37813,44 +28979,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -37891,25 +29029,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -37936,17 +29074,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Flavor" + "$ref": "#/components/schemas/Flavor" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -37954,24 +29092,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -37987,7 +29111,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Flavor" + "$ref": "#/components/schemas/Flavor" } } } @@ -38000,7 +29124,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Flavor" + "$ref": "#/components/schemas/Flavor" }, { "type": "object", @@ -38014,7 +29138,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -38025,44 +29149,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -38103,13 +29199,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -38120,7 +29216,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Flavor" + "$ref": "#/components/schemas/Flavor" }, { "type": "object", @@ -38134,7 +29230,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -38145,34 +29241,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -38185,7 +29260,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -38193,7 +29268,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Flavor" + "$ref": "#/components/schemas/Flavor" } } } @@ -38206,7 +29281,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Flavor" + "$ref": "#/components/schemas/Flavor" }, { "type": "object", @@ -38220,7 +29295,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -38231,44 +29306,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -38281,42 +29328,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -38357,28 +29383,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -38405,17 +29431,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -38423,34 +29449,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -38463,7 +29468,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -38471,7 +29476,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -38484,7 +29489,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -38498,7 +29503,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -38509,44 +29514,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -38587,16 +29564,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -38607,7 +29584,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -38621,7 +29598,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -38632,34 +29609,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -38672,10 +29628,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -38683,7 +29639,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -38696,7 +29652,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -38710,7 +29666,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -38721,44 +29677,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -38771,45 +29699,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -38850,25 +29757,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -38895,17 +29802,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/FloatingIp" + "$ref": "#/components/schemas/FloatingIp" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -38913,24 +29820,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -38946,7 +29839,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/FloatingIp" + "$ref": "#/components/schemas/FloatingIp" } } } @@ -38959,7 +29852,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/FloatingIp" + "$ref": "#/components/schemas/FloatingIp" }, { "type": "object", @@ -38973,7 +29866,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -38984,44 +29877,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -39062,13 +29927,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -39079,7 +29944,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/FloatingIp" + "$ref": "#/components/schemas/FloatingIp" }, { "type": "object", @@ -39093,7 +29958,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -39104,34 +29969,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -39144,103 +29988,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/FloatingIp" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/FloatingIp" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Update a Floating IP", - "description": "Updates an existing Floating IP", - "operationId": "update_floating_ip", - "tags": [ - "Floating IPs" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -39248,7 +29996,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/FloatingIp" + "$ref": "#/components/schemas/FloatingIp" } } } @@ -39261,7 +30009,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/FloatingIp" + "$ref": "#/components/schemas/FloatingIp" }, { "type": "object", @@ -39275,7 +30023,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -39286,44 +30034,84 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Update a Floating IP", + "description": "Updates an existing Floating IP", + "operationId": "update_floating_ip", + "tags": [ + "Floating IPs" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FloatingIp" + } + } + } + }, + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/FloatingIp" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -39336,7 +30124,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -39344,7 +30132,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/FloatingIp" + "$ref": "#/components/schemas/FloatingIp" } } } @@ -39357,7 +30145,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/FloatingIp" + "$ref": "#/components/schemas/FloatingIp" }, { "type": "object", @@ -39371,7 +30159,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -39382,44 +30170,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -39432,42 +30192,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -39508,25 +30247,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -39553,17 +30292,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/GenericObjectDefinition" + "$ref": "#/components/schemas/GenericObjectDefinition" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -39571,24 +30310,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -39604,7 +30329,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/GenericObjectDefinition" + "$ref": "#/components/schemas/GenericObjectDefinition" } } } @@ -39617,7 +30342,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/GenericObjectDefinition" + "$ref": "#/components/schemas/GenericObjectDefinition" }, { "type": "object", @@ -39631,7 +30356,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -39642,44 +30367,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -39720,13 +30417,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -39737,7 +30434,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/GenericObjectDefinition" + "$ref": "#/components/schemas/GenericObjectDefinition" }, { "type": "object", @@ -39751,7 +30448,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -39762,34 +30459,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -39802,7 +30478,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -39810,7 +30486,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/GenericObjectDefinition" + "$ref": "#/components/schemas/GenericObjectDefinition" } } } @@ -39823,7 +30499,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/GenericObjectDefinition" + "$ref": "#/components/schemas/GenericObjectDefinition" }, { "type": "object", @@ -39837,7 +30513,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -39848,44 +30524,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -39898,7 +30546,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -39906,7 +30554,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/GenericObjectDefinition" + "$ref": "#/components/schemas/GenericObjectDefinition" } } } @@ -39919,7 +30567,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/GenericObjectDefinition" + "$ref": "#/components/schemas/GenericObjectDefinition" }, { "type": "object", @@ -39933,7 +30581,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -39944,44 +30592,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -39994,7 +30614,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -40002,7 +30622,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/GenericObjectDefinition" + "$ref": "#/components/schemas/GenericObjectDefinition" } } } @@ -40015,7 +30635,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/GenericObjectDefinition" + "$ref": "#/components/schemas/GenericObjectDefinition" }, { "type": "object", @@ -40029,7 +30649,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -40040,44 +30660,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -40090,42 +30682,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -40166,28 +30737,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -40214,17 +30785,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/GenericObject" + "$ref": "#/components/schemas/GenericObject" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -40232,34 +30803,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -40272,7 +30822,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -40280,7 +30830,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/GenericObject" + "$ref": "#/components/schemas/GenericObject" } } } @@ -40293,7 +30843,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/GenericObject" + "$ref": "#/components/schemas/GenericObject" }, { "type": "object", @@ -40307,7 +30857,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -40318,44 +30868,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -40396,16 +30918,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -40416,7 +30938,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/GenericObject" + "$ref": "#/components/schemas/GenericObject" }, { "type": "object", @@ -40430,7 +30952,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -40441,34 +30963,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -40481,10 +30982,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -40492,7 +30993,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/GenericObject" + "$ref": "#/components/schemas/GenericObject" } } } @@ -40505,7 +31006,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/GenericObject" + "$ref": "#/components/schemas/GenericObject" }, { "type": "object", @@ -40519,7 +31020,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -40530,44 +31031,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -40580,45 +31053,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -40659,25 +31111,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -40704,17 +31156,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/GenericObject" + "$ref": "#/components/schemas/GenericObject" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -40722,24 +31174,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -40755,7 +31193,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/GenericObject" + "$ref": "#/components/schemas/GenericObject" } } } @@ -40768,7 +31206,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/GenericObject" + "$ref": "#/components/schemas/GenericObject" }, { "type": "object", @@ -40782,7 +31220,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -40793,44 +31231,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -40871,13 +31281,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -40888,7 +31298,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/GenericObject" + "$ref": "#/components/schemas/GenericObject" }, { "type": "object", @@ -40902,7 +31312,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -40913,34 +31323,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -40953,7 +31342,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -40975,7 +31364,7 @@ ] }, { - "$ref": "/components/schemas/GenericObject" + "$ref": "#/components/schemas/GenericObject" } ] } @@ -40990,7 +31379,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/GenericObject" + "$ref": "#/components/schemas/GenericObject" }, { "type": "object", @@ -41004,7 +31393,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -41015,44 +31404,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -41065,42 +31426,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -41141,28 +31481,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -41189,17 +31529,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -41207,34 +31547,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -41247,7 +31566,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -41255,7 +31574,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -41268,7 +31587,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -41282,7 +31601,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -41293,44 +31612,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -41371,16 +31662,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -41391,7 +31682,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -41405,7 +31696,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -41416,34 +31707,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -41456,10 +31726,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -41467,7 +31737,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -41480,7 +31750,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -41494,7 +31764,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -41505,44 +31775,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -41555,45 +31797,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -41634,25 +31855,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -41679,17 +31900,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqGroup" + "$ref": "#/components/schemas/MiqGroup" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -41697,24 +31918,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -41730,7 +31937,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqGroup" + "$ref": "#/components/schemas/MiqGroup" } } } @@ -41743,7 +31950,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqGroup" + "$ref": "#/components/schemas/MiqGroup" }, { "type": "object", @@ -41757,7 +31964,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -41768,44 +31975,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -41846,13 +32025,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -41863,7 +32042,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqGroup" + "$ref": "#/components/schemas/MiqGroup" }, { "type": "object", @@ -41877,7 +32056,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -41888,34 +32067,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -41928,7 +32086,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -41936,7 +32094,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqGroup" + "$ref": "#/components/schemas/MiqGroup" } } } @@ -41949,7 +32107,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqGroup" + "$ref": "#/components/schemas/MiqGroup" }, { "type": "object", @@ -41963,7 +32121,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -41974,44 +32132,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -42024,7 +32154,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -42046,7 +32176,7 @@ ] }, { - "$ref": "/components/schemas/MiqGroup" + "$ref": "#/components/schemas/MiqGroup" } ] } @@ -42061,7 +32191,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqGroup" + "$ref": "#/components/schemas/MiqGroup" }, { "type": "object", @@ -42075,7 +32205,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -42086,44 +32216,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -42136,7 +32238,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -42144,7 +32246,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqGroup" + "$ref": "#/components/schemas/MiqGroup" } } } @@ -42157,7 +32259,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqGroup" + "$ref": "#/components/schemas/MiqGroup" }, { "type": "object", @@ -42171,7 +32273,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -42182,44 +32284,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -42232,42 +32306,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -42308,28 +32361,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -42356,17 +32409,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CustomButtonEvent" + "$ref": "#/components/schemas/CustomButtonEvent" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -42374,34 +32427,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -42442,16 +32474,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -42462,7 +32494,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomButtonEvent" + "$ref": "#/components/schemas/CustomButtonEvent" }, { "type": "object", @@ -42476,7 +32508,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -42487,34 +32519,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -42555,28 +32566,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -42603,17 +32614,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -42621,34 +32632,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -42661,7 +32651,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -42669,7 +32659,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -42682,7 +32672,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -42696,7 +32686,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -42707,44 +32697,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -42785,16 +32747,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -42805,7 +32767,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -42819,7 +32781,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -42830,34 +32792,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -42870,10 +32811,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -42881,7 +32822,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -42894,270 +32835,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "delete": { - "summary": "Delete a Tag", - "description": "Deletes an existing Tag", - "operationId": "delete_group_tag", - "tags": [ - "Groups" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/subResourceId" - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Tags", - "description": "Returns available HTTP methods and actions", - "operationId": "options_tags", - "tags": [ - "Tags" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/guest_devices": { - "get": { - "summary": "List Guest Devices", - "description": "Returns a paginated list of Guest Devices", - "operationId": "list_guest_devices", - "tags": [ - "Guest Devices" - ], - "parameters": [ - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - }, - { - "$ref": "/components/parameters/filter" - }, - { - "$ref": "/components/parameters/sortBy" - }, - { - "$ref": "/components/parameters/sortOrder" - }, - { - "$ref": "/components/parameters/offset" - }, - { - "$ref": "/components/parameters/limit" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "guest_devices" - }, - "count": { - "type": "integer" - }, - "subcount": { - "type": "integer" - }, - "pages": { - "type": "integer" - }, - "resources": { - "type": "array", - "items": { - "$ref": "/components/schemas/GuestDevice" - } - }, - "actions": { - "type": "array", - "items": { - "$ref": "/components/schemas/Action" - } - }, - "links": { - "$ref": "/components/schemas/CollectionLinks" - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Create a Guest Device", - "description": "Creates a new Guest Device", - "operationId": "create_guest_device", - "tags": [ - "Guest Devices" - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/GuestDevice" - } - } - } - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/GuestDevice" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -43171,7 +32849,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -43181,45 +32859,217 @@ } } }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "404": { + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "delete": { + "summary": "Delete a Tag", + "description": "Deletes an existing Tag", + "operationId": "delete_group_tag", + "tags": [ + "Groups" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/subResourceId" + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/NoContent" + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Tags", + "description": "Returns available HTTP methods and actions", + "operationId": "options_tags", + "tags": [ + "Tags" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ValidationError" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/guest_devices": { + "get": { + "summary": "List Guest Devices", + "description": "Returns a paginated list of Guest Devices", + "operationId": "list_guest_devices", + "tags": [ + "Guest Devices" + ], + "parameters": [ + { + "$ref": "#/components/parameters/expand" }, - "401": { - "description": "Unauthorized", + { + "$ref": "#/components/parameters/attributes" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/sortBy" + }, + { + "$ref": "#/components/parameters/sortOrder" + }, + { + "$ref": "#/components/parameters/offset" + }, + { + "$ref": "#/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "guest_devices" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GuestDevice" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Action" + } + }, + "links": { + "$ref": "#/components/schemas/CollectionLinks" + } + } } } } }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, "403": { - "description": "Forbidden", + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Create a Guest Device", + "description": "Creates a new Guest Device", + "operationId": "create_guest_device", + "tags": [ + "Guest Devices" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GuestDevice" + } + } + } + }, + "responses": { + "201": { + "description": "Created", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/GuestDevice" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "400": { + "$ref": "#/components/responses/BadRequest" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -43260,13 +33110,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -43277,7 +33127,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/GuestDevice" + "$ref": "#/components/schemas/GuestDevice" }, { "type": "object", @@ -43291,7 +33141,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -43302,34 +33152,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -43342,7 +33171,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -43350,7 +33179,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/GuestDevice" + "$ref": "#/components/schemas/GuestDevice" } } } @@ -43363,7 +33192,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/GuestDevice" + "$ref": "#/components/schemas/GuestDevice" }, { "type": "object", @@ -43377,7 +33206,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -43388,44 +33217,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -43466,25 +33267,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -43511,17 +33312,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/HostAggregate" + "$ref": "#/components/schemas/HostAggregate" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -43529,24 +33330,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -43562,7 +33349,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/HostAggregate" + "$ref": "#/components/schemas/HostAggregate" } } } @@ -43575,7 +33362,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/HostAggregate" + "$ref": "#/components/schemas/HostAggregate" }, { "type": "object", @@ -43589,7 +33376,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -43600,44 +33387,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -43678,13 +33437,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -43695,7 +33454,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/HostAggregate" + "$ref": "#/components/schemas/HostAggregate" }, { "type": "object", @@ -43709,7 +33468,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -43720,34 +33479,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -43760,7 +33498,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -43768,7 +33506,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/HostAggregate" + "$ref": "#/components/schemas/HostAggregate" } } } @@ -43781,7 +33519,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/HostAggregate" + "$ref": "#/components/schemas/HostAggregate" }, { "type": "object", @@ -43795,7 +33533,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -43806,44 +33544,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -43856,7 +33566,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -43864,7 +33574,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/HostAggregate" + "$ref": "#/components/schemas/HostAggregate" } } } @@ -43877,7 +33587,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/HostAggregate" + "$ref": "#/components/schemas/HostAggregate" }, { "type": "object", @@ -43891,7 +33601,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -43902,44 +33612,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -43952,7 +33634,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -43960,7 +33642,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/HostAggregate" + "$ref": "#/components/schemas/HostAggregate" } } } @@ -43973,7 +33655,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/HostAggregate" + "$ref": "#/components/schemas/HostAggregate" }, { "type": "object", @@ -43987,7 +33669,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -43998,44 +33680,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -44048,42 +33702,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -44124,28 +33757,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -44172,17 +33805,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -44190,34 +33823,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -44230,7 +33842,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -44238,7 +33850,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -44251,7 +33863,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -44265,7 +33877,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -44276,44 +33888,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -44354,16 +33938,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -44374,7 +33958,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -44388,7 +33972,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -44399,34 +33983,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -44439,10 +34002,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -44450,7 +34013,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -44463,7 +34026,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -44477,7 +34040,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -44488,44 +34051,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -44538,45 +34073,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -44617,25 +34131,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -44662,17 +34176,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/HostInitiatorGroup" + "$ref": "#/components/schemas/HostInitiatorGroup" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -44680,24 +34194,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -44713,7 +34213,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/HostInitiatorGroup" + "$ref": "#/components/schemas/HostInitiatorGroup" } } } @@ -44726,7 +34226,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/HostInitiatorGroup" + "$ref": "#/components/schemas/HostInitiatorGroup" }, { "type": "object", @@ -44740,7 +34240,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -44751,44 +34251,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -44829,13 +34301,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -44846,7 +34318,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/HostInitiatorGroup" + "$ref": "#/components/schemas/HostInitiatorGroup" }, { "type": "object", @@ -44860,7 +34332,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -44871,34 +34343,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -44911,7 +34362,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -44919,7 +34370,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/HostInitiatorGroup" + "$ref": "#/components/schemas/HostInitiatorGroup" } } } @@ -44932,7 +34383,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/HostInitiatorGroup" + "$ref": "#/components/schemas/HostInitiatorGroup" }, { "type": "object", @@ -44946,7 +34397,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -44957,44 +34408,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -45007,7 +34430,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -45015,7 +34438,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/HostInitiatorGroup" + "$ref": "#/components/schemas/HostInitiatorGroup" } } } @@ -45028,7 +34451,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/HostInitiatorGroup" + "$ref": "#/components/schemas/HostInitiatorGroup" }, { "type": "object", @@ -45042,7 +34465,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -45053,44 +34476,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -45103,7 +34498,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -45111,7 +34506,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/HostInitiatorGroup" + "$ref": "#/components/schemas/HostInitiatorGroup" } } } @@ -45124,7 +34519,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/HostInitiatorGroup" + "$ref": "#/components/schemas/HostInitiatorGroup" }, { "type": "object", @@ -45138,7 +34533,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -45149,44 +34544,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -45199,42 +34566,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -45275,25 +34621,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -45320,17 +34666,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/HostInitiator" + "$ref": "#/components/schemas/HostInitiator" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -45338,24 +34684,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -45371,7 +34703,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/HostInitiator" + "$ref": "#/components/schemas/HostInitiator" } } } @@ -45384,7 +34716,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/HostInitiator" + "$ref": "#/components/schemas/HostInitiator" }, { "type": "object", @@ -45398,7 +34730,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -45409,44 +34741,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -45487,13 +34791,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -45504,7 +34808,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/HostInitiator" + "$ref": "#/components/schemas/HostInitiator" }, { "type": "object", @@ -45518,7 +34822,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -45529,34 +34833,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -45569,7 +34852,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -45577,7 +34860,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/HostInitiator" + "$ref": "#/components/schemas/HostInitiator" } } } @@ -45590,7 +34873,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/HostInitiator" + "$ref": "#/components/schemas/HostInitiator" }, { "type": "object", @@ -45604,7 +34887,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -45615,44 +34898,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -45665,42 +34920,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -45741,25 +34975,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -45786,17 +35020,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Host" + "$ref": "#/components/schemas/Host" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -45804,24 +35038,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -45837,7 +35057,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Host" + "$ref": "#/components/schemas/Host" } } } @@ -45850,127 +35070,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Host" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Hosts", - "description": "Returns available HTTP methods and actions", - "operationId": "options_hosts", - "tags": [ - "Hosts" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/hosts/{c_id}": { - "get": { - "summary": "Get a Host", - "description": "Returns a single Host by ID", - "operationId": "get_host", - "tags": [ - "Hosts" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/Host" + "$ref": "#/components/schemas/Host" }, { "type": "object", @@ -45984,7 +35084,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -45994,35 +35094,106 @@ } } }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "400": { + "$ref": "#/components/responses/BadRequest" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Hosts", + "description": "Returns available HTTP methods and actions", + "operationId": "options_hosts", + "tags": [ + "Hosts" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/hosts/{c_id}": { + "get": { + "summary": "Get a Host", + "description": "Returns a single Host by ID", + "operationId": "get_host", + "tags": [ + "Hosts" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" }, - "403": { - "description": "Forbidden", + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/Host" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -46035,7 +35206,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -46057,7 +35228,7 @@ ] }, { - "$ref": "/components/schemas/Host" + "$ref": "#/components/schemas/Host" } ] } @@ -46072,7 +35243,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Host" + "$ref": "#/components/schemas/Host" }, { "type": "object", @@ -46086,7 +35257,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -46097,44 +35268,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -46175,28 +35318,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -46223,17 +35366,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -46241,34 +35384,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -46281,7 +35403,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -46289,7 +35411,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -46302,7 +35424,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -46316,7 +35438,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -46327,44 +35449,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -46405,16 +35499,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -46425,7 +35519,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -46439,7 +35533,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -46450,34 +35544,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -46490,10 +35563,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -46501,7 +35574,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -46514,7 +35587,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -46528,7 +35601,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -46539,44 +35612,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -46589,45 +35634,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -46668,28 +35692,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -46716,17 +35740,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -46734,34 +35758,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -46774,7 +35777,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -46782,7 +35785,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } } } @@ -46795,7 +35798,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -46809,7 +35812,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -46820,44 +35823,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -46898,16 +35873,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -46918,7 +35893,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -46932,7 +35907,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -46943,34 +35918,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -46983,10 +35937,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -46994,7 +35948,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } } } @@ -47007,7 +35961,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -47021,7 +35975,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -47032,44 +35986,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -47082,45 +36008,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -47161,28 +36066,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -47209,17 +36114,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -47227,34 +36132,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -47267,7 +36151,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -47275,7 +36159,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -47288,7 +36172,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -47302,7 +36186,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -47313,44 +36197,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -47391,16 +36247,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -47411,7 +36267,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -47425,7 +36281,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -47436,34 +36292,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -47476,10 +36311,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -47487,7 +36322,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -47500,7 +36335,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -47514,7 +36349,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -47525,44 +36360,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -47575,10 +36382,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -47586,7 +36393,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -47599,7 +36406,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -47613,7 +36420,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -47624,44 +36431,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -47674,10 +36453,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -47685,7 +36464,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -47698,7 +36477,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -47712,7 +36491,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -47723,44 +36502,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -47773,45 +36524,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -47852,28 +36582,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -47900,17 +36630,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Lan" + "$ref": "#/components/schemas/Lan" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -47918,34 +36648,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -47986,16 +36695,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -48006,7 +36715,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Lan" + "$ref": "#/components/schemas/Lan" }, { "type": "object", @@ -48020,7 +36729,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -48031,34 +36740,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -48099,28 +36787,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -48147,17 +36835,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -48165,34 +36853,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -48205,7 +36872,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -48213,7 +36880,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } } } @@ -48226,7 +36893,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" }, { "type": "object", @@ -48240,7 +36907,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -48251,44 +36918,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -48329,16 +36968,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -48349,7 +36988,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" }, { "type": "object", @@ -48363,7 +37002,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -48374,34 +37013,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -48414,10 +37032,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -48425,7 +37043,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } } } @@ -48438,7 +37056,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" }, { "type": "object", @@ -48452,7 +37070,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -48463,44 +37081,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -48513,45 +37103,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -48592,25 +37161,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -48637,17 +37206,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Vm" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Vm" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -48655,24 +37224,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -48688,7 +37243,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Vm" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Vm" } } } @@ -48701,7 +37256,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Vm" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Vm" }, { "type": "object", @@ -48715,7 +37270,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -48726,44 +37281,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -48804,13 +37331,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -48821,7 +37348,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Vm" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Vm" }, { "type": "object", @@ -48835,7 +37362,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -48846,34 +37373,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -48886,7 +37392,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -48894,7 +37400,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Vm" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Vm" } } } @@ -48907,7 +37413,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Vm" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Vm" }, { "type": "object", @@ -48921,7 +37427,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -48932,44 +37438,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -49010,28 +37488,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -49058,17 +37536,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -49076,34 +37554,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -49116,7 +37573,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -49124,7 +37581,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } } } @@ -49137,130 +37594,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomAttribute" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Custom Attributes", - "description": "Returns available HTTP methods and actions", - "operationId": "options_custom_attributes", - "tags": [ - "Custom Attributes" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/instances/{c_id}/custom_attributes/{s_id}": { - "get": { - "summary": "Get a Custom Attribute", - "description": "Returns a single Custom Attribute by ID", - "operationId": "get_instance_custom_attribute", - "tags": [ - "Instances" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/subResourceId" - }, - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" }, { "type": "object", @@ -49274,7 +37608,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -49285,34 +37619,108 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Custom Attributes", + "description": "Returns available HTTP methods and actions", + "operationId": "options_custom_attributes", + "tags": [ + "Custom Attributes" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/instances/{c_id}/custom_attributes/{s_id}": { + "get": { + "summary": "Get a Custom Attribute", + "description": "Returns a single Custom Attribute by ID", + "operationId": "get_instance_custom_attribute", + "tags": [ + "Instances" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" }, - "403": { - "description": "Forbidden", + { + "$ref": "#/components/parameters/subResourceId" + }, + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/CustomAttribute" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -49325,10 +37733,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -49336,7 +37744,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } } } @@ -49349,7 +37757,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" }, { "type": "object", @@ -49363,7 +37771,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -49374,44 +37782,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -49424,45 +37804,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -49503,28 +37862,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -49551,17 +37910,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/LoadBalancer" + "$ref": "#/components/schemas/LoadBalancer" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -49569,34 +37928,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -49609,7 +37947,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -49617,7 +37955,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/LoadBalancer" + "$ref": "#/components/schemas/LoadBalancer" } } } @@ -49630,7 +37968,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/LoadBalancer" + "$ref": "#/components/schemas/LoadBalancer" }, { "type": "object", @@ -49644,7 +37982,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -49655,44 +37993,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -49733,16 +38043,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -49753,7 +38063,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/LoadBalancer" + "$ref": "#/components/schemas/LoadBalancer" }, { "type": "object", @@ -49767,7 +38077,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -49778,34 +38088,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -49818,10 +38107,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -49829,7 +38118,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/LoadBalancer" + "$ref": "#/components/schemas/LoadBalancer" } } } @@ -49842,7 +38131,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/LoadBalancer" + "$ref": "#/components/schemas/LoadBalancer" }, { "type": "object", @@ -49856,7 +38145,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -49867,44 +38156,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -49945,28 +38206,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -49993,17 +38254,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -50011,34 +38272,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -50051,7 +38291,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -50059,7 +38299,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" } } } @@ -50072,7 +38312,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" }, { "type": "object", @@ -50086,7 +38326,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -50097,44 +38337,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -50175,16 +38387,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -50195,7 +38407,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" }, { "type": "object", @@ -50209,7 +38421,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -50220,34 +38432,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -50260,10 +38451,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -50271,7 +38462,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" } } } @@ -50284,7 +38475,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" }, { "type": "object", @@ -50298,7 +38489,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -50309,44 +38500,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -50387,28 +38550,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -50435,17 +38598,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Snapshot" + "$ref": "#/components/schemas/Snapshot" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -50453,34 +38616,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -50493,7 +38635,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -50501,7 +38643,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Snapshot" + "$ref": "#/components/schemas/Snapshot" } } } @@ -50514,7 +38656,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Snapshot" + "$ref": "#/components/schemas/Snapshot" }, { "type": "object", @@ -50528,7 +38670,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -50539,44 +38681,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -50617,16 +38731,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -50637,7 +38751,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Snapshot" + "$ref": "#/components/schemas/Snapshot" }, { "type": "object", @@ -50651,7 +38765,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -50662,34 +38776,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -50702,10 +38795,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -50713,7 +38806,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Snapshot" + "$ref": "#/components/schemas/Snapshot" } } } @@ -50726,7 +38819,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Snapshot" + "$ref": "#/components/schemas/Snapshot" }, { "type": "object", @@ -50740,7 +38833,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -50751,44 +38844,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -50801,45 +38866,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -50880,25 +38924,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -50925,17 +38969,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/IsoImage" + "$ref": "#/components/schemas/IsoImage" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -50943,24 +38987,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -50976,7 +39006,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/IsoImage" + "$ref": "#/components/schemas/IsoImage" } } } @@ -50989,7 +39019,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/IsoImage" + "$ref": "#/components/schemas/IsoImage" }, { "type": "object", @@ -51003,7 +39033,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -51014,44 +39044,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -51092,13 +39094,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -51109,7 +39111,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/IsoImage" + "$ref": "#/components/schemas/IsoImage" }, { "type": "object", @@ -51123,7 +39125,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -51134,34 +39136,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -51174,7 +39155,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -51182,7 +39163,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/IsoImage" + "$ref": "#/components/schemas/IsoImage" } } } @@ -51195,7 +39176,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/IsoImage" + "$ref": "#/components/schemas/IsoImage" }, { "type": "object", @@ -51209,7 +39190,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -51220,44 +39201,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -51298,25 +39251,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -51343,17 +39296,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Lan" + "$ref": "#/components/schemas/Lan" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -51361,24 +39314,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -51419,244 +39358,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/Lan" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Lans", - "description": "Returns available HTTP methods and actions", - "operationId": "options_lans", - "tags": [ - "Lans" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/lans/{c_id}/tags": { - "get": { - "summary": "List Tags for Lan", - "description": "Returns a paginated list of Tags", - "operationId": "list_lan_tags", - "tags": [ - "Lans" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - }, - { - "$ref": "/components/parameters/filter" - }, - { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/offset" - }, - { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/attributes" } ], "responses": { "200": { "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "tags" - }, - "count": { - "type": "integer" - }, - "subcount": { - "type": "integer" - }, - "pages": { - "type": "integer" - }, - "resources": { - "type": "array", - "items": { - "$ref": "/components/schemas/Tag" - } - }, - "actions": { - "type": "array", - "items": { - "$ref": "/components/schemas/Action" - } - }, - "links": { - "$ref": "/components/schemas/CollectionLinks" - } - } - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Create a Tag", - "description": "Creates a new Tag", - "operationId": "create_lan_tag", - "tags": [ - "Lans" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Tag" - } - } - } - }, - "responses": { - "201": { - "description": "Created", "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Lan" }, { "type": "object", @@ -51670,7 +39389,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -51681,44 +39400,194 @@ } }, "404": { - "description": "Not Found", + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Lans", + "description": "Returns available HTTP methods and actions", + "operationId": "options_lans", + "tags": [ + "Lans" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/lans/{c_id}/tags": { + "get": { + "summary": "List Tags for Lan", + "description": "Returns a paginated list of Tags", + "operationId": "list_lan_tags", + "tags": [ + "Lans" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" }, - "422": { - "description": "Unprocessable Entity", + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/sortBy" + }, + { + "$ref": "#/components/parameters/sortOrder" + }, + { + "$ref": "#/components/parameters/offset" + }, + { + "$ref": "#/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ValidationError" + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "tags" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Tag" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Action" + } + }, + "links": { + "$ref": "#/components/schemas/CollectionLinks" + } + } } } } }, + "404": { + "$ref": "#/components/responses/NotFound" + }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Create a Tag", + "description": "Creates a new Tag", + "operationId": "create_lan_tag", + "tags": [ + "Lans" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Tag" + } + } + } + }, + "responses": { + "201": { + "description": "Created", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -51759,16 +39628,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -51779,7 +39648,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -51793,7 +39662,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -51804,34 +39673,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -51844,10 +39692,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -51855,7 +39703,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -51868,7 +39716,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -51882,7 +39730,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -51893,44 +39741,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -51943,45 +39763,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -52022,25 +39821,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -52067,17 +39866,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/LoadBalancer" + "$ref": "#/components/schemas/LoadBalancer" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -52085,24 +39884,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -52118,7 +39903,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/LoadBalancer" + "$ref": "#/components/schemas/LoadBalancer" } } } @@ -52131,7 +39916,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/LoadBalancer" + "$ref": "#/components/schemas/LoadBalancer" }, { "type": "object", @@ -52145,7 +39930,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -52156,44 +39941,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -52234,13 +39991,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -52251,7 +40008,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/LoadBalancer" + "$ref": "#/components/schemas/LoadBalancer" }, { "type": "object", @@ -52265,7 +40022,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -52276,34 +40033,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -52316,7 +40052,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -52338,7 +40074,7 @@ ] }, { - "$ref": "/components/schemas/LoadBalancer" + "$ref": "#/components/schemas/LoadBalancer" } ] } @@ -52353,7 +40089,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/LoadBalancer" + "$ref": "#/components/schemas/LoadBalancer" }, { "type": "object", @@ -52367,7 +40103,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -52378,44 +40114,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -52456,25 +40164,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -52501,17 +40209,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ChargebackRateDetailMeasure" + "$ref": "#/components/schemas/ChargebackRateDetailMeasure" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -52519,24 +40227,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -52577,13 +40271,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -52594,7 +40288,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ChargebackRateDetailMeasure" + "$ref": "#/components/schemas/ChargebackRateDetailMeasure" }, { "type": "object", @@ -52608,7 +40302,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -52619,34 +40313,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -52687,25 +40360,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -52732,17 +40405,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MetricRollup" + "$ref": "#/components/schemas/MetricRollup" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -52750,24 +40423,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -52808,13 +40467,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -52825,7 +40484,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MetricRollup" + "$ref": "#/components/schemas/MetricRollup" }, { "type": "object", @@ -52839,7 +40498,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -52850,34 +40509,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -52918,25 +40556,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -52963,17 +40601,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Metric" + "$ref": "#/components/schemas/Metric" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -52981,24 +40619,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -53039,13 +40663,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -53056,7 +40680,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Metric" + "$ref": "#/components/schemas/Metric" }, { "type": "object", @@ -53070,7 +40694,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -53081,34 +40705,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -53149,25 +40752,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -53194,17 +40797,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/NetworkRouter" + "$ref": "#/components/schemas/NetworkRouter" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -53212,24 +40815,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -53245,7 +40834,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/NetworkRouter" + "$ref": "#/components/schemas/NetworkRouter" } } } @@ -53258,7 +40847,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/NetworkRouter" + "$ref": "#/components/schemas/NetworkRouter" }, { "type": "object", @@ -53272,7 +40861,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -53283,44 +40872,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -53361,13 +40922,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -53378,7 +40939,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/NetworkRouter" + "$ref": "#/components/schemas/NetworkRouter" }, { "type": "object", @@ -53392,7 +40953,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -53403,34 +40964,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -53443,103 +40983,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/NetworkRouter" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/NetworkRouter" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Perform action on a Network_Router", - "description": "Executes a custom action on a specific Network_Router", - "operationId": "action_network_router", - "tags": [ - "Network_Routers" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -53547,23 +40991,7 @@ "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "action": { - "type": "string", - "description": "Action to perform" - } - }, - "required": [ - "action" - ] - }, - { - "$ref": "/components/schemas/NetworkRouter" - } - ] + "$ref": "#/components/schemas/NetworkRouter" } } } @@ -53576,7 +41004,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/NetworkRouter" + "$ref": "#/components/schemas/NetworkRouter" }, { "type": "object", @@ -53590,7 +41018,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -53601,44 +41029,100 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Perform action on a Network_Router", + "description": "Executes a custom action on a specific Network_Router", + "operationId": "action_network_router", + "tags": [ + "Network_Routers" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "#/components/schemas/NetworkRouter" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/NetworkRouter" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -53651,7 +41135,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -53659,7 +41143,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/NetworkRouter" + "$ref": "#/components/schemas/NetworkRouter" } } } @@ -53672,7 +41156,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/NetworkRouter" + "$ref": "#/components/schemas/NetworkRouter" }, { "type": "object", @@ -53686,7 +41170,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -53697,44 +41181,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -53747,42 +41203,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -53823,28 +41258,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -53871,17 +41306,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -53889,34 +41324,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -53929,7 +41343,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -53937,7 +41351,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -53950,7 +41364,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -53964,7 +41378,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -53975,44 +41389,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -54053,16 +41439,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -54073,7 +41459,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -54087,7 +41473,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -54098,34 +41484,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -54138,10 +41503,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -54149,7 +41514,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -54162,7 +41527,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -54176,7 +41541,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -54187,44 +41552,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -54237,45 +41574,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -54316,25 +41632,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -54361,17 +41677,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/NetworkService" + "$ref": "#/components/schemas/NetworkService" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -54379,24 +41695,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -54412,7 +41714,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/NetworkService" + "$ref": "#/components/schemas/NetworkService" } } } @@ -54425,7 +41727,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/NetworkService" + "$ref": "#/components/schemas/NetworkService" }, { "type": "object", @@ -54439,7 +41741,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -54450,44 +41752,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -54528,13 +41802,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -54545,7 +41819,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/NetworkService" + "$ref": "#/components/schemas/NetworkService" }, { "type": "object", @@ -54559,7 +41833,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -54570,34 +41844,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -54610,7 +41863,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -54632,7 +41885,7 @@ ] }, { - "$ref": "/components/schemas/NetworkService" + "$ref": "#/components/schemas/NetworkService" } ] } @@ -54647,7 +41900,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/NetworkService" + "$ref": "#/components/schemas/NetworkService" }, { "type": "object", @@ -54661,7 +41914,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -54672,44 +41925,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -54722,42 +41947,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -54798,28 +42002,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -54846,17 +42050,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -54864,34 +42068,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -54904,7 +42087,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -54912,7 +42095,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -54925,7 +42108,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -54939,7 +42122,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -54950,44 +42133,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -55028,16 +42183,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -55048,7 +42203,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -55062,7 +42217,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -55073,34 +42228,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -55113,10 +42247,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -55124,7 +42258,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -55137,7 +42271,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -55151,7 +42285,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -55162,44 +42296,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -55212,45 +42318,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -55291,25 +42376,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -55336,17 +42421,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/NotificationRecipient" + "$ref": "#/components/schemas/NotificationRecipient" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -55354,24 +42439,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -55387,7 +42458,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/NotificationRecipient" + "$ref": "#/components/schemas/NotificationRecipient" } } } @@ -55400,7 +42471,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/NotificationRecipient" + "$ref": "#/components/schemas/NotificationRecipient" }, { "type": "object", @@ -55414,7 +42485,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -55425,44 +42496,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -55503,13 +42546,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -55520,7 +42563,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/NotificationRecipient" + "$ref": "#/components/schemas/NotificationRecipient" }, { "type": "object", @@ -55534,7 +42577,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -55545,34 +42588,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -55585,7 +42607,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -55593,7 +42615,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/NotificationRecipient" + "$ref": "#/components/schemas/NotificationRecipient" } } } @@ -55606,7 +42628,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/NotificationRecipient" + "$ref": "#/components/schemas/NotificationRecipient" }, { "type": "object", @@ -55620,7 +42642,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -55631,44 +42653,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -55681,42 +42675,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -55757,25 +42730,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -55802,17 +42775,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/OrchestrationStack" + "$ref": "#/components/schemas/OrchestrationStack" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -55820,24 +42793,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -55853,7 +42812,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/OrchestrationStack" + "$ref": "#/components/schemas/OrchestrationStack" } } } @@ -55866,7 +42825,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/OrchestrationStack" + "$ref": "#/components/schemas/OrchestrationStack" }, { "type": "object", @@ -55880,7 +42839,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -55891,44 +42850,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -55969,13 +42900,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -55986,7 +42917,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/OrchestrationStack" + "$ref": "#/components/schemas/OrchestrationStack" }, { "type": "object", @@ -56000,7 +42931,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -56011,34 +42942,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -56051,7 +42961,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -56073,7 +42983,7 @@ ] }, { - "$ref": "/components/schemas/OrchestrationStack" + "$ref": "#/components/schemas/OrchestrationStack" } ] } @@ -56088,7 +42998,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/OrchestrationStack" + "$ref": "#/components/schemas/OrchestrationStack" }, { "type": "object", @@ -56102,7 +43012,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -56113,44 +43023,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -56191,25 +43073,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -56236,17 +43118,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/OrchestrationTemplate" + "$ref": "#/components/schemas/OrchestrationTemplate" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -56254,24 +43136,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -56287,7 +43155,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/OrchestrationTemplate" + "$ref": "#/components/schemas/OrchestrationTemplate" } } } @@ -56300,7 +43168,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/OrchestrationTemplate" + "$ref": "#/components/schemas/OrchestrationTemplate" }, { "type": "object", @@ -56314,7 +43182,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -56325,44 +43193,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -56403,13 +43243,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -56420,7 +43260,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/OrchestrationTemplate" + "$ref": "#/components/schemas/OrchestrationTemplate" }, { "type": "object", @@ -56434,7 +43274,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -56445,34 +43285,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -56485,7 +43304,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -56493,7 +43312,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/OrchestrationTemplate" + "$ref": "#/components/schemas/OrchestrationTemplate" } } } @@ -56506,7 +43325,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/OrchestrationTemplate" + "$ref": "#/components/schemas/OrchestrationTemplate" }, { "type": "object", @@ -56520,7 +43339,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -56531,44 +43350,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -56581,7 +43372,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -56589,7 +43380,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/OrchestrationTemplate" + "$ref": "#/components/schemas/OrchestrationTemplate" } } } @@ -56602,7 +43393,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/OrchestrationTemplate" + "$ref": "#/components/schemas/OrchestrationTemplate" }, { "type": "object", @@ -56616,7 +43407,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -56627,44 +43418,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -56677,7 +43440,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -56685,7 +43448,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/OrchestrationTemplate" + "$ref": "#/components/schemas/OrchestrationTemplate" } } } @@ -56698,7 +43461,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/OrchestrationTemplate" + "$ref": "#/components/schemas/OrchestrationTemplate" }, { "type": "object", @@ -56712,7 +43475,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -56723,44 +43486,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -56773,42 +43508,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -56849,25 +43563,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -56894,17 +43608,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/PhysicalChassis" + "$ref": "#/components/schemas/PhysicalChassis" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -56912,24 +43626,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -56945,7 +43645,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PhysicalChassis" + "$ref": "#/components/schemas/PhysicalChassis" } } } @@ -56958,7 +43658,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalChassis" + "$ref": "#/components/schemas/PhysicalChassis" }, { "type": "object", @@ -56972,7 +43672,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -56983,44 +43683,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -57061,13 +43733,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -57078,7 +43750,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalChassis" + "$ref": "#/components/schemas/PhysicalChassis" }, { "type": "object", @@ -57092,7 +43764,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -57103,34 +43775,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -57143,7 +43794,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -57165,7 +43816,7 @@ ] }, { - "$ref": "/components/schemas/PhysicalChassis" + "$ref": "#/components/schemas/PhysicalChassis" } ] } @@ -57180,7 +43831,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalChassis" + "$ref": "#/components/schemas/PhysicalChassis" }, { "type": "object", @@ -57194,7 +43845,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -57205,44 +43856,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -57273,267 +43896,123 @@ } } }, - "/api/{version}/physical_chassis/{c_id}/event_streams": { - "get": { - "summary": "List Event Streams for Physical Chassis", - "description": "Returns a paginated list of Event Streams", - "operationId": "list_physical_chassis_event_streams", - "tags": [ - "Physical Chassis" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - }, - { - "$ref": "/components/parameters/filter" - }, - { - "$ref": "/components/parameters/sortBy" - }, - { - "$ref": "/components/parameters/sortOrder" - }, - { - "$ref": "/components/parameters/offset" - }, - { - "$ref": "/components/parameters/limit" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "event_streams" - }, - "count": { - "type": "integer" - }, - "subcount": { - "type": "integer" - }, - "pages": { - "type": "integer" - }, - "resources": { - "type": "array", - "items": { - "$ref": "/components/schemas/EventStream" - } - }, - "actions": { - "type": "array", - "items": { - "$ref": "/components/schemas/Action" - } - }, - "links": { - "$ref": "/components/schemas/CollectionLinks" - } - } - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Create a Event Stream", - "description": "Creates a new Event Stream", - "operationId": "create_physical_chassis_event_stream", - "tags": [ - "Physical Chassis" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/EventStream" - } - } - } - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/EventStream" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Event Streams", - "description": "Returns available HTTP methods and actions", - "operationId": "options_event_streams", - "tags": [ - "Event Streams" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/physical_chassis/{c_id}/event_streams/{s_id}": { + "/api/{version}/physical_chassis/{c_id}/event_streams": { "get": { - "summary": "Get a Event Stream", - "description": "Returns a single Event Stream by ID", - "operationId": "get_physical_chassis_event_stream", + "summary": "List Event Streams for Physical Chassis", + "description": "Returns a paginated list of Event Streams", + "operationId": "list_physical_chassis_event_streams", "tags": [ "Physical Chassis" ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/sortBy" + }, + { + "$ref": "#/components/parameters/sortOrder" + }, + { + "$ref": "#/components/parameters/offset" + }, + { + "$ref": "#/components/parameters/limit" } ], "responses": { "200": { "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "event_streams" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EventStream" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Action" + } + }, + "links": { + "$ref": "#/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Create a Event Stream", + "description": "Creates a new Event Stream", + "operationId": "create_physical_chassis_event_stream", + "tags": [ + "Physical Chassis" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EventStream" + } + } + } + }, + "responses": { + "201": { + "description": "Created", "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" }, { "type": "object", @@ -57547,7 +44026,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -57558,34 +44037,108 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Event Streams", + "description": "Returns available HTTP methods and actions", + "operationId": "options_event_streams", + "tags": [ + "Event Streams" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/physical_chassis/{c_id}/event_streams/{s_id}": { + "get": { + "summary": "Get a Event Stream", + "description": "Returns a single Event Stream by ID", + "operationId": "get_physical_chassis_event_stream", + "tags": [ + "Physical Chassis" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" }, - "403": { - "description": "Forbidden", + { + "$ref": "#/components/parameters/subResourceId" + }, + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/EventStream" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -57598,10 +44151,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -57609,7 +44162,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" } } } @@ -57622,7 +44175,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" }, { "type": "object", @@ -57636,7 +44189,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -57647,44 +44200,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -57725,25 +44250,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -57770,17 +44295,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/PhysicalRack" + "$ref": "#/components/schemas/PhysicalRack" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -57788,24 +44313,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -57821,7 +44332,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PhysicalRack" + "$ref": "#/components/schemas/PhysicalRack" } } } @@ -57834,7 +44345,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalRack" + "$ref": "#/components/schemas/PhysicalRack" }, { "type": "object", @@ -57848,7 +44359,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -57859,44 +44370,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -57937,13 +44420,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -57954,7 +44437,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalRack" + "$ref": "#/components/schemas/PhysicalRack" }, { "type": "object", @@ -57968,7 +44451,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -57979,34 +44462,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -58019,7 +44481,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -58041,7 +44503,7 @@ ] }, { - "$ref": "/components/schemas/PhysicalRack" + "$ref": "#/components/schemas/PhysicalRack" } ] } @@ -58056,7 +44518,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalRack" + "$ref": "#/components/schemas/PhysicalRack" }, { "type": "object", @@ -58070,7 +44532,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -58081,44 +44543,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -58159,25 +44593,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -58204,17 +44638,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/PhysicalServerProfile" + "$ref": "#/components/schemas/PhysicalServerProfile" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -58222,24 +44656,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -58255,7 +44675,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PhysicalServerProfile" + "$ref": "#/components/schemas/PhysicalServerProfile" } } } @@ -58268,7 +44688,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalServerProfile" + "$ref": "#/components/schemas/PhysicalServerProfile" }, { "type": "object", @@ -58282,7 +44702,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -58293,44 +44713,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -58371,13 +44763,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -58388,7 +44780,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalServerProfile" + "$ref": "#/components/schemas/PhysicalServerProfile" }, { "type": "object", @@ -58402,7 +44794,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -58413,34 +44805,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -58453,7 +44824,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -58461,7 +44832,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PhysicalServerProfile" + "$ref": "#/components/schemas/PhysicalServerProfile" } } } @@ -58474,7 +44845,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalServerProfile" + "$ref": "#/components/schemas/PhysicalServerProfile" }, { "type": "object", @@ -58488,7 +44859,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -58499,44 +44870,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -58577,28 +44920,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -58625,17 +44968,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -58643,34 +44986,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -58683,7 +45005,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -58691,7 +45013,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" } } } @@ -58704,7 +45026,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" }, { "type": "object", @@ -58718,7 +45040,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -58729,44 +45051,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -58807,16 +45101,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -58827,7 +45121,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" }, { "type": "object", @@ -58841,7 +45135,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -58852,34 +45146,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -58892,10 +45165,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -58903,7 +45176,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" } } } @@ -58916,7 +45189,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" }, { "type": "object", @@ -58930,7 +45203,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -58941,44 +45214,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -59019,25 +45264,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -59064,17 +45309,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/PhysicalServer" + "$ref": "#/components/schemas/PhysicalServer" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -59082,24 +45327,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -59115,7 +45346,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PhysicalServer" + "$ref": "#/components/schemas/PhysicalServer" } } } @@ -59128,7 +45359,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalServer" + "$ref": "#/components/schemas/PhysicalServer" }, { "type": "object", @@ -59142,7 +45373,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -59153,44 +45384,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -59231,13 +45434,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -59248,7 +45451,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalServer" + "$ref": "#/components/schemas/PhysicalServer" }, { "type": "object", @@ -59262,7 +45465,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -59273,34 +45476,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -59313,7 +45495,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -59335,7 +45517,7 @@ ] }, { - "$ref": "/components/schemas/PhysicalServer" + "$ref": "#/components/schemas/PhysicalServer" } ] } @@ -59350,7 +45532,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalServer" + "$ref": "#/components/schemas/PhysicalServer" }, { "type": "object", @@ -59364,7 +45546,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -59375,44 +45557,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -59453,28 +45607,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -59501,17 +45655,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -59519,34 +45673,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -59559,7 +45692,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -59567,7 +45700,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" } } } @@ -59580,7 +45713,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" }, { "type": "object", @@ -59594,7 +45727,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -59605,44 +45738,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -59683,16 +45788,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -59703,7 +45808,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" }, { "type": "object", @@ -59717,7 +45822,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -59728,34 +45833,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -59768,10 +45852,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -59779,7 +45863,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" } } } @@ -59792,7 +45876,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" }, { "type": "object", @@ -59806,7 +45890,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -59817,44 +45901,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -59895,28 +45951,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -59943,17 +45999,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/FirmwareBinary" + "$ref": "#/components/schemas/FirmwareBinary" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -59961,34 +46017,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -60029,16 +46064,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -60049,7 +46084,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/FirmwareBinary" + "$ref": "#/components/schemas/FirmwareBinary" }, { "type": "object", @@ -60063,7 +46098,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -60074,34 +46109,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -60142,25 +46156,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -60187,17 +46201,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/PhysicalStorageFamily" + "$ref": "#/components/schemas/PhysicalStorageFamily" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -60205,24 +46219,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -60238,7 +46238,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PhysicalStorageFamily" + "$ref": "#/components/schemas/PhysicalStorageFamily" } } } @@ -60251,7 +46251,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalStorageFamily" + "$ref": "#/components/schemas/PhysicalStorageFamily" }, { "type": "object", @@ -60265,7 +46265,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -60276,44 +46276,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -60354,13 +46326,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -60371,7 +46343,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalStorageFamily" + "$ref": "#/components/schemas/PhysicalStorageFamily" }, { "type": "object", @@ -60385,7 +46357,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -60396,34 +46368,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -60436,7 +46387,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -60444,7 +46395,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PhysicalStorageFamily" + "$ref": "#/components/schemas/PhysicalStorageFamily" } } } @@ -60457,7 +46408,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalStorageFamily" + "$ref": "#/components/schemas/PhysicalStorageFamily" }, { "type": "object", @@ -60471,7 +46422,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -60482,44 +46433,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -60560,25 +46483,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -60605,17 +46528,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/PhysicalStorage" + "$ref": "#/components/schemas/PhysicalStorage" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -60623,24 +46546,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -60656,7 +46565,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PhysicalStorage" + "$ref": "#/components/schemas/PhysicalStorage" } } } @@ -60669,7 +46578,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalStorage" + "$ref": "#/components/schemas/PhysicalStorage" }, { "type": "object", @@ -60683,7 +46592,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -60694,44 +46603,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -60772,13 +46653,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -60789,7 +46670,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalStorage" + "$ref": "#/components/schemas/PhysicalStorage" }, { "type": "object", @@ -60803,7 +46684,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -60814,34 +46695,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -60854,7 +46714,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -60862,7 +46722,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PhysicalStorage" + "$ref": "#/components/schemas/PhysicalStorage" } } } @@ -60875,7 +46735,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalStorage" + "$ref": "#/components/schemas/PhysicalStorage" }, { "type": "object", @@ -60889,7 +46749,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -60900,44 +46760,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -60950,7 +46782,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -60972,7 +46804,7 @@ ] }, { - "$ref": "/components/schemas/PhysicalStorage" + "$ref": "#/components/schemas/PhysicalStorage" } ] } @@ -60987,7 +46819,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalStorage" + "$ref": "#/components/schemas/PhysicalStorage" }, { "type": "object", @@ -61001,7 +46833,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -61012,44 +46844,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -61062,7 +46866,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -61070,7 +46874,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PhysicalStorage" + "$ref": "#/components/schemas/PhysicalStorage" } } } @@ -61083,7 +46887,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalStorage" + "$ref": "#/components/schemas/PhysicalStorage" }, { "type": "object", @@ -61097,7 +46901,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -61108,44 +46912,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -61158,42 +46934,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -61234,25 +46989,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -61279,17 +47034,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/PhysicalSwitch" + "$ref": "#/components/schemas/PhysicalSwitch" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -61297,24 +47052,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -61330,7 +47071,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PhysicalSwitch" + "$ref": "#/components/schemas/PhysicalSwitch" } } } @@ -61343,7 +47084,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalSwitch" + "$ref": "#/components/schemas/PhysicalSwitch" }, { "type": "object", @@ -61357,7 +47098,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -61368,44 +47109,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -61446,13 +47159,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -61463,7 +47176,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalSwitch" + "$ref": "#/components/schemas/PhysicalSwitch" }, { "type": "object", @@ -61477,7 +47190,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -61488,34 +47201,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -61528,7 +47220,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -61550,7 +47242,7 @@ ] }, { - "$ref": "/components/schemas/PhysicalSwitch" + "$ref": "#/components/schemas/PhysicalSwitch" } ] } @@ -61565,7 +47257,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PhysicalSwitch" + "$ref": "#/components/schemas/PhysicalSwitch" }, { "type": "object", @@ -61579,7 +47271,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -61590,44 +47282,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -61668,28 +47332,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -61716,17 +47380,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -61734,34 +47398,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -61774,7 +47417,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -61782,7 +47425,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" } } } @@ -61795,7 +47438,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" }, { "type": "object", @@ -61809,7 +47452,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -61820,44 +47463,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -61898,16 +47513,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -61918,7 +47533,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" }, { "type": "object", @@ -61932,7 +47547,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -61943,34 +47558,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -61983,10 +47577,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -61994,7 +47588,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" } } } @@ -62007,7 +47601,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/EventStream" + "$ref": "#/components/schemas/EventStream" }, { "type": "object", @@ -62021,7 +47615,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -62032,44 +47626,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -62110,25 +47676,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -62155,17 +47721,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Picture" + "$ref": "#/components/schemas/Picture" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -62173,24 +47739,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -62206,7 +47758,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Picture" + "$ref": "#/components/schemas/Picture" } } } @@ -62219,7 +47771,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Picture" + "$ref": "#/components/schemas/Picture" }, { "type": "object", @@ -62233,7 +47785,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -62244,44 +47796,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -62322,13 +47846,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -62339,7 +47863,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Picture" + "$ref": "#/components/schemas/Picture" }, { "type": "object", @@ -62353,7 +47877,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -62364,34 +47888,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -62404,7 +47907,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -62412,7 +47915,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Picture" + "$ref": "#/components/schemas/Picture" } } } @@ -62425,7 +47928,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Picture" + "$ref": "#/components/schemas/Picture" }, { "type": "object", @@ -62439,7 +47942,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -62450,44 +47953,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -62528,25 +48003,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -62573,17 +48048,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -62591,24 +48066,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -62624,7 +48085,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } } } @@ -62637,7 +48098,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -62651,7 +48112,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -62662,44 +48123,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -62740,13 +48173,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -62757,7 +48190,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -62771,7 +48204,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -62782,34 +48215,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -62822,7 +48234,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -62830,7 +48242,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } } } @@ -62843,7 +48255,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -62857,7 +48269,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -62868,44 +48280,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -62918,42 +48302,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -62994,28 +48357,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -63042,17 +48405,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Condition" + "$ref": "#/components/schemas/Condition" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -63060,34 +48423,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -63100,7 +48442,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -63108,7 +48450,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Condition" + "$ref": "#/components/schemas/Condition" } } } @@ -63121,7 +48463,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Condition" + "$ref": "#/components/schemas/Condition" }, { "type": "object", @@ -63135,7 +48477,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -63146,44 +48488,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -63224,16 +48538,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -63244,96 +48558,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Condition" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Update a Condition", - "description": "Updates an existing Condition", - "operationId": "update_policy_condition", - "tags": [ - "Policies" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/subResourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Condition" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/Condition" + "$ref": "#/components/schemas/Condition" }, { "type": "object", @@ -63347,7 +48572,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -63358,44 +48583,84 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Update a Condition", + "description": "Updates an existing Condition", + "operationId": "update_policy_condition", + "tags": [ + "Policies" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Condition" } } - }, - "422": { - "description": "Unprocessable Entity", + } + }, + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ValidationError" + "allOf": [ + { + "$ref": "#/components/schemas/Condition" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -63408,45 +48673,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -63487,28 +48731,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -63535,17 +48779,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -63553,34 +48797,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -63593,7 +48816,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -63601,7 +48824,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" } } } @@ -63614,7 +48837,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" }, { "type": "object", @@ -63628,7 +48851,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -63639,44 +48862,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -63717,16 +48912,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -63737,7 +48932,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" }, { "type": "object", @@ -63751,7 +48946,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -63762,34 +48957,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -63802,10 +48976,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -63813,7 +48987,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" } } } @@ -63826,7 +49000,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" }, { "type": "object", @@ -63840,7 +49014,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -63851,44 +49025,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -63929,28 +49075,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -63977,17 +49123,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqEventDefinition" + "$ref": "#/components/schemas/MiqEventDefinition" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -63995,34 +49141,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -64035,7 +49160,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -64043,7 +49168,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqEventDefinition" + "$ref": "#/components/schemas/MiqEventDefinition" } } } @@ -64056,7 +49181,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqEventDefinition" + "$ref": "#/components/schemas/MiqEventDefinition" }, { "type": "object", @@ -64070,7 +49195,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -64081,44 +49206,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -64159,16 +49256,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -64179,7 +49276,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqEventDefinition" + "$ref": "#/components/schemas/MiqEventDefinition" }, { "type": "object", @@ -64193,7 +49290,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -64204,34 +49301,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -64244,10 +49320,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -64255,7 +49331,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqEventDefinition" + "$ref": "#/components/schemas/MiqEventDefinition" } } } @@ -64268,7 +49344,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqEventDefinition" + "$ref": "#/components/schemas/MiqEventDefinition" }, { "type": "object", @@ -64282,7 +49358,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -64293,44 +49369,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -64371,25 +49419,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -64416,17 +49464,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -64434,24 +49482,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -64467,7 +49501,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" } } } @@ -64480,7 +49514,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" }, { "type": "object", @@ -64494,7 +49528,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -64505,44 +49539,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -64583,13 +49589,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -64600,7 +49606,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" }, { "type": "object", @@ -64614,7 +49620,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -64625,34 +49631,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -64665,7 +49650,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -64673,7 +49658,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" } } } @@ -64686,7 +49671,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqAction" + "$ref": "#/components/schemas/MiqAction" }, { "type": "object", @@ -64700,7 +49685,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -64711,44 +49696,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -64789,25 +49746,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -64834,17 +49791,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -64852,24 +49809,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -64885,7 +49828,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -64898,7 +49841,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -64912,7 +49855,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -64923,44 +49866,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -65001,13 +49916,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -65018,7 +49933,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -65032,7 +49947,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -65043,34 +49958,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -65083,7 +49977,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -65091,7 +49985,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -65104,7 +49998,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -65118,7 +50012,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -65129,44 +50023,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -65179,7 +50045,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -65187,7 +50053,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -65200,7 +50066,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -65214,7 +50080,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -65225,44 +50091,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -65275,7 +50113,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -65283,7 +50121,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -65296,7 +50134,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -65310,7 +50148,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -65321,44 +50159,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -65371,42 +50181,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -65447,28 +50236,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -65495,17 +50284,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -65513,34 +50302,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -65553,7 +50321,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -65561,7 +50329,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } } } @@ -65574,7 +50342,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -65588,7 +50356,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -65599,44 +50367,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -65677,16 +50417,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -65697,7 +50437,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -65711,7 +50451,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -65722,34 +50462,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -65762,10 +50481,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -65773,7 +50492,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } } } @@ -65786,7 +50505,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -65800,7 +50519,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -65811,44 +50530,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -65861,45 +50552,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -65940,25 +50610,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -65985,17 +50655,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ExtManagementSystem" + "$ref": "#/components/schemas/ExtManagementSystem" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -66003,24 +50673,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -66036,7 +50692,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ExtManagementSystem" + "$ref": "#/components/schemas/ExtManagementSystem" } } } @@ -66049,7 +50705,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ExtManagementSystem" + "$ref": "#/components/schemas/ExtManagementSystem" }, { "type": "object", @@ -66063,7 +50719,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -66074,44 +50730,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -66152,13 +50780,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -66169,7 +50797,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ExtManagementSystem" + "$ref": "#/components/schemas/ExtManagementSystem" }, { "type": "object", @@ -66183,7 +50811,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -66194,34 +50822,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -66234,7 +50841,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -66242,7 +50849,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ExtManagementSystem" + "$ref": "#/components/schemas/ExtManagementSystem" } } } @@ -66255,7 +50862,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ExtManagementSystem" + "$ref": "#/components/schemas/ExtManagementSystem" }, { "type": "object", @@ -66269,7 +50876,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -66280,44 +50887,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -66330,7 +50909,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -66352,7 +50931,7 @@ ] }, { - "$ref": "/components/schemas/ExtManagementSystem" + "$ref": "#/components/schemas/ExtManagementSystem" } ] } @@ -66367,7 +50946,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ExtManagementSystem" + "$ref": "#/components/schemas/ExtManagementSystem" }, { "type": "object", @@ -66381,7 +50960,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -66392,44 +50971,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -66442,7 +50993,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -66450,7 +51001,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ExtManagementSystem" + "$ref": "#/components/schemas/ExtManagementSystem" } } } @@ -66463,7 +51014,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ExtManagementSystem" + "$ref": "#/components/schemas/ExtManagementSystem" }, { "type": "object", @@ -66477,7 +51028,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -66488,44 +51039,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -66538,42 +51061,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -66614,28 +51116,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -66662,17 +51164,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ConfigurationProfile" + "$ref": "#/components/schemas/ConfigurationProfile" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -66680,34 +51182,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -66748,16 +51229,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -66768,7 +51249,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfigurationProfile" + "$ref": "#/components/schemas/ConfigurationProfile" }, { "type": "object", @@ -66782,7 +51263,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -66793,34 +51274,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -66861,28 +51321,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -66909,17 +51369,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ConfiguredSystem" + "$ref": "#/components/schemas/ConfiguredSystem" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -66927,34 +51387,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -66995,16 +51434,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -67015,7 +51454,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ConfiguredSystem" + "$ref": "#/components/schemas/ConfiguredSystem" }, { "type": "object", @@ -67029,7 +51468,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -67040,34 +51479,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -67108,28 +51526,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -67156,17 +51574,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -67174,34 +51592,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -67214,7 +51611,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -67222,7 +51619,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -67235,7 +51632,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -67249,7 +51646,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -67260,44 +51657,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -67338,16 +51707,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -67358,7 +51727,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -67372,7 +51741,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -67383,34 +51752,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -67423,10 +51771,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -67434,7 +51782,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -67447,7 +51795,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -67461,7 +51809,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -67472,44 +51820,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -67522,45 +51842,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -67601,28 +51900,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -67649,17 +51948,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -67667,34 +51966,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -67707,7 +51985,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -67715,7 +51993,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } } } @@ -67728,7 +52006,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -67742,7 +52020,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -67753,44 +52031,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -67831,16 +52081,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -67851,7 +52101,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -67865,7 +52115,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -67876,34 +52126,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -67916,10 +52145,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -67927,7 +52156,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } } } @@ -67940,7 +52169,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -67954,7 +52183,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -67965,44 +52194,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -68015,45 +52216,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -68094,28 +52274,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -68142,17 +52322,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -68160,34 +52340,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -68200,7 +52359,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -68208,7 +52367,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -68221,7 +52380,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -68235,7 +52394,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -68246,44 +52405,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -68324,16 +52455,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -68344,7 +52475,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -68358,7 +52489,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -68369,34 +52500,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -68409,10 +52519,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -68420,7 +52530,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -68433,7 +52543,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -68447,7 +52557,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -68458,44 +52568,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -68508,10 +52590,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -68519,7 +52601,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -68532,7 +52614,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -68546,7 +52628,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -68557,44 +52639,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -68607,10 +52661,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -68618,7 +52672,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -68631,7 +52685,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -68645,7 +52699,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -68656,44 +52710,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -68706,45 +52732,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -68785,28 +52790,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -68833,17 +52838,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CloudNetwork" + "$ref": "#/components/schemas/CloudNetwork" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -68851,34 +52856,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -68891,7 +52875,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -68899,7 +52883,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudNetwork" + "$ref": "#/components/schemas/CloudNetwork" } } } @@ -68912,7 +52896,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudNetwork" + "$ref": "#/components/schemas/CloudNetwork" }, { "type": "object", @@ -68926,7 +52910,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -68937,44 +52921,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -69015,16 +52971,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -69035,7 +52991,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudNetwork" + "$ref": "#/components/schemas/CloudNetwork" }, { "type": "object", @@ -69049,7 +53005,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -69060,34 +53016,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -69100,10 +53035,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -69111,7 +53046,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudNetwork" + "$ref": "#/components/schemas/CloudNetwork" } } } @@ -69124,7 +53059,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudNetwork" + "$ref": "#/components/schemas/CloudNetwork" }, { "type": "object", @@ -69138,7 +53073,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -69149,44 +53084,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -69199,10 +53106,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -69210,7 +53117,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudNetwork" + "$ref": "#/components/schemas/CloudNetwork" } } } @@ -69223,7 +53130,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudNetwork" + "$ref": "#/components/schemas/CloudNetwork" }, { "type": "object", @@ -69237,7 +53144,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -69248,44 +53155,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -69298,10 +53177,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -69309,7 +53188,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudNetwork" + "$ref": "#/components/schemas/CloudNetwork" } } } @@ -69322,7 +53201,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudNetwork" + "$ref": "#/components/schemas/CloudNetwork" }, { "type": "object", @@ -69336,7 +53215,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -69347,44 +53226,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -69397,45 +53248,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -69476,28 +53306,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -69524,17 +53354,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CloudSubnet" + "$ref": "#/components/schemas/CloudSubnet" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -69542,34 +53372,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -69582,7 +53391,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -69590,7 +53399,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudSubnet" + "$ref": "#/components/schemas/CloudSubnet" } } } @@ -69603,7 +53412,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudSubnet" + "$ref": "#/components/schemas/CloudSubnet" }, { "type": "object", @@ -69617,7 +53426,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -69628,44 +53437,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -69706,16 +53487,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -69726,7 +53507,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudSubnet" + "$ref": "#/components/schemas/CloudSubnet" }, { "type": "object", @@ -69740,7 +53521,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -69751,34 +53532,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -69791,10 +53551,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -69802,7 +53562,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudSubnet" + "$ref": "#/components/schemas/CloudSubnet" } } } @@ -69815,7 +53575,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudSubnet" + "$ref": "#/components/schemas/CloudSubnet" }, { "type": "object", @@ -69829,7 +53589,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -69840,44 +53600,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -69890,10 +53622,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -69901,7 +53633,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudSubnet" + "$ref": "#/components/schemas/CloudSubnet" } } } @@ -69914,7 +53646,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudSubnet" + "$ref": "#/components/schemas/CloudSubnet" }, { "type": "object", @@ -69928,7 +53660,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -69939,44 +53671,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -69989,10 +53693,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -70000,7 +53704,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudSubnet" + "$ref": "#/components/schemas/CloudSubnet" } } } @@ -70013,7 +53717,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudSubnet" + "$ref": "#/components/schemas/CloudSubnet" }, { "type": "object", @@ -70027,7 +53731,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -70038,44 +53742,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -70088,45 +53764,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -70167,28 +53822,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -70215,17 +53870,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -70233,34 +53888,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -70273,7 +53907,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -70281,7 +53915,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" } } } @@ -70294,7 +53928,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" }, { "type": "object", @@ -70308,7 +53942,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -70319,44 +53953,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -70397,16 +54003,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -70417,7 +54023,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" }, { "type": "object", @@ -70431,7 +54037,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -70442,34 +54048,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -70482,10 +54067,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -70493,7 +54078,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" } } } @@ -70506,7 +54091,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" }, { "type": "object", @@ -70520,7 +54105,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -70531,44 +54116,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -70581,10 +54138,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -70592,7 +54149,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" } } } @@ -70605,7 +54162,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" }, { "type": "object", @@ -70619,7 +54176,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -70630,44 +54187,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -70680,10 +54209,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -70691,7 +54220,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" } } } @@ -70704,7 +54233,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudTenant" + "$ref": "#/components/schemas/CloudTenant" }, { "type": "object", @@ -70718,7 +54247,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -70729,44 +54258,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -70779,45 +54280,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -70858,28 +54338,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -70906,17 +54386,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CloudVolumeType" + "$ref": "#/components/schemas/CloudVolumeType" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -70924,34 +54404,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -70992,16 +54451,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -71012,7 +54471,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CloudVolumeType" + "$ref": "#/components/schemas/CloudVolumeType" }, { "type": "object", @@ -71026,7 +54485,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -71037,34 +54496,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -71105,28 +54543,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -71153,17 +54591,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -71171,34 +54609,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -71211,7 +54628,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -71219,7 +54636,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } } } @@ -71232,7 +54649,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" }, { "type": "object", @@ -71246,7 +54663,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -71257,44 +54674,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -71335,16 +54724,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -71355,7 +54744,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" }, { "type": "object", @@ -71369,7 +54758,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -71380,34 +54769,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -71420,10 +54788,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -71431,7 +54799,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } } } @@ -71444,7 +54812,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" }, { "type": "object", @@ -71458,7 +54826,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -71469,44 +54837,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -71519,45 +54859,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -71598,28 +54917,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -71646,17 +54965,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/LoadBalancer" + "$ref": "#/components/schemas/LoadBalancer" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -71664,34 +54983,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -71704,7 +55002,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -71712,7 +55010,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/LoadBalancer" + "$ref": "#/components/schemas/LoadBalancer" } } } @@ -71725,7 +55023,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/LoadBalancer" + "$ref": "#/components/schemas/LoadBalancer" }, { "type": "object", @@ -71739,7 +55037,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -71750,44 +55048,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -71828,16 +55098,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -71848,7 +55118,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/LoadBalancer" + "$ref": "#/components/schemas/LoadBalancer" }, { "type": "object", @@ -71862,7 +55132,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -71873,34 +55143,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -71913,10 +55162,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -71924,7 +55173,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/LoadBalancer" + "$ref": "#/components/schemas/LoadBalancer" } } } @@ -71937,7 +55186,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/LoadBalancer" + "$ref": "#/components/schemas/LoadBalancer" }, { "type": "object", @@ -71951,7 +55200,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -71962,44 +55211,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -72040,28 +55261,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -72088,17 +55309,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MetricRollup" + "$ref": "#/components/schemas/MetricRollup" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -72106,34 +55327,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -72174,16 +55374,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -72194,7 +55394,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MetricRollup" + "$ref": "#/components/schemas/MetricRollup" }, { "type": "object", @@ -72208,7 +55408,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -72219,34 +55419,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -72287,28 +55466,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -72335,17 +55514,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/NetworkService" + "$ref": "#/components/schemas/NetworkService" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -72353,34 +55532,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -72393,7 +55551,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -72401,7 +55559,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/NetworkService" + "$ref": "#/components/schemas/NetworkService" } } } @@ -72414,7 +55572,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/NetworkService" + "$ref": "#/components/schemas/NetworkService" }, { "type": "object", @@ -72428,7 +55586,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -72439,44 +55597,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -72517,16 +55647,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -72537,7 +55667,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/NetworkService" + "$ref": "#/components/schemas/NetworkService" }, { "type": "object", @@ -72551,7 +55681,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -72562,34 +55692,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -72602,10 +55711,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -72613,7 +55722,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/NetworkService" + "$ref": "#/components/schemas/NetworkService" } } } @@ -72626,7 +55735,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/NetworkService" + "$ref": "#/components/schemas/NetworkService" }, { "type": "object", @@ -72640,7 +55749,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -72651,44 +55760,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -72701,45 +55782,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -72780,28 +55840,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -72828,17 +55888,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -72846,34 +55906,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -72886,7 +55925,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -72894,7 +55933,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" } } } @@ -72907,7 +55946,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" }, { "type": "object", @@ -72921,7 +55960,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -72932,44 +55971,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -73010,16 +56021,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -73030,7 +56041,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" }, { "type": "object", @@ -73044,7 +56055,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -73055,34 +56066,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -73095,10 +56085,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -73106,7 +56096,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" } } } @@ -73119,7 +56109,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" }, { "type": "object", @@ -73133,7 +56123,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -73144,44 +56134,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -73222,28 +56184,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -73270,17 +56232,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/SecurityPolicy" + "$ref": "#/components/schemas/SecurityPolicy" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -73288,34 +56250,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -73328,7 +56269,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -73336,7 +56277,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/SecurityPolicy" + "$ref": "#/components/schemas/SecurityPolicy" } } } @@ -73349,7 +56290,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityPolicy" + "$ref": "#/components/schemas/SecurityPolicy" }, { "type": "object", @@ -73363,7 +56304,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -73374,44 +56315,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -73452,16 +56365,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -73472,7 +56385,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityPolicy" + "$ref": "#/components/schemas/SecurityPolicy" }, { "type": "object", @@ -73486,7 +56399,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -73497,34 +56410,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -73537,10 +56429,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -73548,7 +56440,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/SecurityPolicy" + "$ref": "#/components/schemas/SecurityPolicy" } } } @@ -73561,7 +56453,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityPolicy" + "$ref": "#/components/schemas/SecurityPolicy" }, { "type": "object", @@ -73575,7 +56467,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -73586,44 +56478,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -73636,45 +56500,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -73715,28 +56558,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -73763,17 +56606,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/SecurityPolicyRule" + "$ref": "#/components/schemas/SecurityPolicyRule" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -73781,34 +56624,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -73821,7 +56643,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -73829,7 +56651,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/SecurityPolicyRule" + "$ref": "#/components/schemas/SecurityPolicyRule" } } } @@ -73842,7 +56664,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityPolicyRule" + "$ref": "#/components/schemas/SecurityPolicyRule" }, { "type": "object", @@ -73856,7 +56678,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -73867,44 +56689,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -73945,16 +56739,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -73965,7 +56759,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityPolicyRule" + "$ref": "#/components/schemas/SecurityPolicyRule" }, { "type": "object", @@ -73979,7 +56773,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -73990,34 +56784,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -74030,10 +56803,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -74041,7 +56814,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/SecurityPolicyRule" + "$ref": "#/components/schemas/SecurityPolicyRule" } } } @@ -74054,7 +56827,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityPolicyRule" + "$ref": "#/components/schemas/SecurityPolicyRule" }, { "type": "object", @@ -74068,7 +56841,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -74079,44 +56852,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -74129,45 +56874,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -74208,28 +56932,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -74256,17 +56980,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Vm" + "$ref": "#/components/schemas/Vm" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -74274,34 +56998,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -74314,7 +57017,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -74322,7 +57025,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Vm" + "$ref": "#/components/schemas/Vm" } } } @@ -74335,7 +57038,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Vm" + "$ref": "#/components/schemas/Vm" }, { "type": "object", @@ -74349,7 +57052,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -74360,44 +57063,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -74438,16 +57113,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -74458,7 +57133,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Vm" + "$ref": "#/components/schemas/Vm" }, { "type": "object", @@ -74472,7 +57147,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -74483,34 +57158,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -74523,10 +57177,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -74534,7 +57188,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Vm" + "$ref": "#/components/schemas/Vm" } } } @@ -74547,7 +57201,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Vm" + "$ref": "#/components/schemas/Vm" }, { "type": "object", @@ -74561,7 +57215,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -74572,44 +57226,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -74622,45 +57248,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -74701,28 +57306,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -74749,17 +57354,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Flavor" + "$ref": "#/components/schemas/Flavor" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -74767,34 +57372,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -74807,7 +57391,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -74815,7 +57399,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Flavor" + "$ref": "#/components/schemas/Flavor" } } } @@ -74828,7 +57412,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Flavor" + "$ref": "#/components/schemas/Flavor" }, { "type": "object", @@ -74842,7 +57426,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -74853,44 +57437,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -74931,16 +57487,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -74951,7 +57507,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Flavor" + "$ref": "#/components/schemas/Flavor" }, { "type": "object", @@ -74965,7 +57521,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -74976,34 +57532,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -75016,10 +57551,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -75027,7 +57562,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Flavor" + "$ref": "#/components/schemas/Flavor" } } } @@ -75040,7 +57575,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Flavor" + "$ref": "#/components/schemas/Flavor" }, { "type": "object", @@ -75054,7 +57589,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -75065,44 +57600,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -75115,45 +57622,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -75194,28 +57680,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -75242,17 +57728,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -75260,34 +57746,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -75300,7 +57765,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -75308,7 +57773,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" } } } @@ -75321,7 +57786,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" }, { "type": "object", @@ -75335,7 +57800,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -75346,44 +57811,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -75424,16 +57861,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -75444,7 +57881,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" }, { "type": "object", @@ -75458,7 +57895,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -75469,34 +57906,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -75509,10 +57925,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -75520,7 +57936,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" } } } @@ -75533,7 +57949,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" }, { "type": "object", @@ -75547,7 +57963,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -75558,44 +57974,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -75608,10 +57996,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -75619,7 +58007,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" } } } @@ -75632,7 +58020,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" }, { "type": "object", @@ -75646,7 +58034,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -75657,44 +58045,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -75707,10 +58067,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -75718,7 +58078,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" } } } @@ -75731,7 +58091,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ManageIQ_Providers_CloudManager_Template" + "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" }, { "type": "object", @@ -75745,7 +58105,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -75756,44 +58116,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -75806,45 +58138,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -75885,28 +58196,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -75933,17 +58244,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/EmsFolder" + "$ref": "#/components/schemas/EmsFolder" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -75951,34 +58262,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -76019,16 +58309,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -76039,7 +58329,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/EmsFolder" + "$ref": "#/components/schemas/EmsFolder" }, { "type": "object", @@ -76053,7 +58343,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -76064,34 +58354,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -76132,275 +58401,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - }, - { - "$ref": "/components/parameters/filter" - }, - { - "$ref": "/components/parameters/sortBy" - }, - { - "$ref": "/components/parameters/sortOrder" - }, - { - "$ref": "/components/parameters/offset" - }, - { - "$ref": "/components/parameters/limit" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "networks" - }, - "count": { - "type": "integer" - }, - "subcount": { - "type": "integer" - }, - "pages": { - "type": "integer" - }, - "resources": { - "type": "array", - "items": { - "$ref": "/components/schemas/Network" - } - }, - "actions": { - "type": "array", - "items": { - "$ref": "/components/schemas/Action" - } - }, - "links": { - "$ref": "/components/schemas/CollectionLinks" - } - } - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Networks", - "description": "Returns available HTTP methods and actions", - "operationId": "options_networks", - "tags": [ - "Networks" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/providers/{c_id}/networks/{s_id}": { - "get": { - "summary": "Get a Network", - "description": "Returns a single Network by ID", - "operationId": "get_provider_network", - "tags": [ - "Providers" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/subResourceId" - }, - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/Network" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Networks", - "description": "Returns available HTTP methods and actions", - "operationId": "options_networks", - "tags": [ - "Networks" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/providers/{c_id}/lans": { - "get": { - "summary": "List Lans for Provider", - "description": "Returns a paginated list of Lans", - "operationId": "list_provider_lans", - "tags": [ - "Providers" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -76413,7 +58435,7 @@ "properties": { "name": { "type": "string", - "example": "lans" + "example": "networks" }, "count": { "type": "integer" @@ -76427,17 +58449,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Lan" + "$ref": "#/components/schemas/Network" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -76445,34 +58467,218 @@ } }, "404": { - "description": "Not Found", + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Networks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_networks", + "tags": [ + "Networks" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/providers/{c_id}/networks/{s_id}": { + "get": { + "summary": "Get a Network", + "description": "Returns a single Network by ID", + "operationId": "get_provider_network", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" }, - "401": { - "description": "Unauthorized", + { + "$ref": "#/components/parameters/subResourceId" + }, + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/Network" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, "403": { - "description": "Forbidden", + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Networks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_networks", + "tags": [ + "Networks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/lans": { + "get": { + "summary": "List Lans for Provider", + "description": "Returns a paginated list of Lans", + "operationId": "list_provider_lans", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/sortBy" + }, + { + "$ref": "#/components/parameters/sortOrder" + }, + { + "$ref": "#/components/parameters/offset" + }, + { + "$ref": "#/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "lans" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Lan" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Action" + } + }, + "links": { + "$ref": "#/components/schemas/CollectionLinks" + } + } } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -76513,16 +58719,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -76533,7 +58739,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Lan" + "$ref": "#/components/schemas/Lan" }, { "type": "object", @@ -76547,7 +58753,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -76558,34 +58764,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -76626,25 +58811,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -76671,17 +58856,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqDialog" + "$ref": "#/components/schemas/MiqDialog" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -76689,24 +58874,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -76722,7 +58893,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqDialog" + "$ref": "#/components/schemas/MiqDialog" } } } @@ -76735,7 +58906,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqDialog" + "$ref": "#/components/schemas/MiqDialog" }, { "type": "object", @@ -76749,7 +58920,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -76760,44 +58931,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -76838,13 +58981,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -76855,7 +58998,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqDialog" + "$ref": "#/components/schemas/MiqDialog" }, { "type": "object", @@ -76869,7 +59012,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -76880,34 +59023,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -76920,7 +59042,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -76928,7 +59050,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqDialog" + "$ref": "#/components/schemas/MiqDialog" } } } @@ -76941,7 +59063,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqDialog" + "$ref": "#/components/schemas/MiqDialog" }, { "type": "object", @@ -76955,7 +59077,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -76966,44 +59088,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -77044,25 +59138,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -77089,17 +59183,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqProvisionRequest" + "$ref": "#/components/schemas/MiqProvisionRequest" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -77107,24 +59201,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -77140,7 +59220,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqProvisionRequest" + "$ref": "#/components/schemas/MiqProvisionRequest" } } } @@ -77153,7 +59233,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqProvisionRequest" + "$ref": "#/components/schemas/MiqProvisionRequest" }, { "type": "object", @@ -77167,7 +59247,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -77178,44 +59258,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -77256,13 +59308,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -77273,7 +59325,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqProvisionRequest" + "$ref": "#/components/schemas/MiqProvisionRequest" }, { "type": "object", @@ -77287,7 +59339,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -77298,34 +59350,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -77338,7 +59369,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -77346,7 +59377,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqProvisionRequest" + "$ref": "#/components/schemas/MiqProvisionRequest" } } } @@ -77359,7 +59390,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqProvisionRequest" + "$ref": "#/components/schemas/MiqProvisionRequest" }, { "type": "object", @@ -77373,7 +59404,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -77384,44 +59415,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -77462,28 +59465,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -77510,17 +59513,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -77528,34 +59531,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -77568,7 +59550,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -77576,7 +59558,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" } } } @@ -77589,7 +59571,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" }, { "type": "object", @@ -77603,7 +59585,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -77614,44 +59596,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -77692,16 +59646,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -77712,7 +59666,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" }, { "type": "object", @@ -77726,7 +59680,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -77737,34 +59691,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -77777,10 +59710,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -77788,7 +59721,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" } } } @@ -77801,7 +59734,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" }, { "type": "object", @@ -77815,7 +59748,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -77826,44 +59759,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -77904,25 +59809,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -77949,17 +59854,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/PxeImageType" + "$ref": "#/components/schemas/PxeImageType" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -77967,24 +59872,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -78000,7 +59891,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PxeImageType" + "$ref": "#/components/schemas/PxeImageType" } } } @@ -78013,7 +59904,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeImageType" + "$ref": "#/components/schemas/PxeImageType" }, { "type": "object", @@ -78027,7 +59918,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -78038,44 +59929,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -78116,13 +59979,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -78133,7 +59996,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeImageType" + "$ref": "#/components/schemas/PxeImageType" }, { "type": "object", @@ -78147,7 +60010,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -78158,34 +60021,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -78198,7 +60040,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -78206,7 +60048,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PxeImageType" + "$ref": "#/components/schemas/PxeImageType" } } } @@ -78219,7 +60061,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeImageType" + "$ref": "#/components/schemas/PxeImageType" }, { "type": "object", @@ -78233,7 +60075,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -78244,44 +60086,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -78294,7 +60108,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -78302,7 +60116,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PxeImageType" + "$ref": "#/components/schemas/PxeImageType" } } } @@ -78315,7 +60129,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeImageType" + "$ref": "#/components/schemas/PxeImageType" }, { "type": "object", @@ -78329,7 +60143,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -78340,44 +60154,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -78390,7 +60176,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -78398,7 +60184,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PxeImageType" + "$ref": "#/components/schemas/PxeImageType" } } } @@ -78411,7 +60197,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeImageType" + "$ref": "#/components/schemas/PxeImageType" }, { "type": "object", @@ -78425,7 +60211,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -78436,44 +60222,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -78486,42 +60244,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -78562,25 +60299,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -78607,17 +60344,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/PxeImage" + "$ref": "#/components/schemas/PxeImage" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -78625,24 +60362,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -78683,13 +60406,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -78700,7 +60423,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeImage" + "$ref": "#/components/schemas/PxeImage" }, { "type": "object", @@ -78714,7 +60437,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -78725,34 +60448,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -78793,28 +60495,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -78841,17 +60543,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -78859,34 +60561,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -78899,7 +60580,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -78907,7 +60588,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" } } } @@ -78920,7 +60601,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" }, { "type": "object", @@ -78934,7 +60615,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -78945,44 +60626,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -79023,16 +60676,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -79043,7 +60696,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" }, { "type": "object", @@ -79057,7 +60710,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -79068,34 +60721,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -79108,10 +60740,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -79119,7 +60751,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" } } } @@ -79132,7 +60764,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" }, { "type": "object", @@ -79146,7 +60778,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -79157,44 +60789,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -79207,10 +60811,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -79218,7 +60822,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" } } } @@ -79231,7 +60835,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" }, { "type": "object", @@ -79245,7 +60849,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -79256,44 +60860,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -79306,10 +60882,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -79317,7 +60893,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" } } } @@ -79330,7 +60906,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomizationTemplate" + "$ref": "#/components/schemas/CustomizationTemplate" }, { "type": "object", @@ -79344,7 +60920,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -79355,44 +60931,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -79405,45 +60953,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -79484,25 +61011,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -79529,17 +61056,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -79547,24 +61074,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -79580,7 +61093,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" } } } @@ -79593,7 +61106,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" }, { "type": "object", @@ -79607,7 +61120,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -79618,44 +61131,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -79696,13 +61181,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -79713,7 +61198,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" }, { "type": "object", @@ -79727,7 +61212,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -79738,34 +61223,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -79778,7 +61242,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -79786,7 +61250,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" } } } @@ -79799,7 +61263,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" }, { "type": "object", @@ -79813,7 +61277,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -79824,44 +61288,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -79874,7 +61310,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -79882,7 +61318,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" } } } @@ -79895,7 +61331,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" }, { "type": "object", @@ -79909,7 +61345,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -79920,44 +61356,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -79970,7 +61378,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -79978,7 +61386,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" } } } @@ -79991,7 +61399,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" }, { "type": "object", @@ -80005,7 +61413,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -80016,44 +61424,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -80066,42 +61446,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -80142,25 +61501,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -80187,17 +61546,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/PxeServer" + "$ref": "#/components/schemas/PxeServer" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -80205,24 +61564,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -80238,7 +61583,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PxeServer" + "$ref": "#/components/schemas/PxeServer" } } } @@ -80251,7 +61596,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeServer" + "$ref": "#/components/schemas/PxeServer" }, { "type": "object", @@ -80265,7 +61610,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -80276,44 +61621,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -80354,13 +61671,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -80371,7 +61688,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeServer" + "$ref": "#/components/schemas/PxeServer" }, { "type": "object", @@ -80385,7 +61702,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -80396,34 +61713,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -80436,7 +61732,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -80444,7 +61740,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PxeServer" + "$ref": "#/components/schemas/PxeServer" } } } @@ -80457,7 +61753,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeServer" + "$ref": "#/components/schemas/PxeServer" }, { "type": "object", @@ -80471,7 +61767,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -80482,44 +61778,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -80532,7 +61800,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -80540,7 +61808,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PxeServer" + "$ref": "#/components/schemas/PxeServer" } } } @@ -80553,7 +61821,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeServer" + "$ref": "#/components/schemas/PxeServer" }, { "type": "object", @@ -80567,7 +61835,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -80578,44 +61846,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -80628,7 +61868,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -80636,7 +61876,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PxeServer" + "$ref": "#/components/schemas/PxeServer" } } } @@ -80649,7 +61889,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeServer" + "$ref": "#/components/schemas/PxeServer" }, { "type": "object", @@ -80663,7 +61903,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -80674,44 +61914,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -80724,42 +61936,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -80800,28 +61991,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -80848,52 +62039,31 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/PxeImage" + "$ref": "#/components/schemas/PxeImage" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, - "links": { - "$ref": "/components/schemas/CollectionLinks" - } - } - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" + "links": { + "$ref": "#/components/schemas/CollectionLinks" + } + } } } } }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -80934,16 +62104,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -80954,7 +62124,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeImage" + "$ref": "#/components/schemas/PxeImage" }, { "type": "object", @@ -80968,7 +62138,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -80979,34 +62149,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -81047,28 +62196,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -81095,17 +62244,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -81113,34 +62262,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -81153,7 +62281,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -81161,7 +62289,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" } } } @@ -81174,7 +62302,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" }, { "type": "object", @@ -81188,7 +62316,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -81199,44 +62327,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -81277,16 +62377,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -81297,7 +62397,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" }, { "type": "object", @@ -81311,7 +62411,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -81322,34 +62422,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -81362,10 +62441,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -81373,7 +62452,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" } } } @@ -81386,7 +62465,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" }, { "type": "object", @@ -81400,7 +62479,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -81411,44 +62490,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -81461,10 +62512,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -81472,7 +62523,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" } } } @@ -81485,7 +62536,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" }, { "type": "object", @@ -81499,7 +62550,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -81510,44 +62561,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -81560,10 +62583,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -81571,7 +62594,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" } } } @@ -81584,7 +62607,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/PxeMenu" + "$ref": "#/components/schemas/PxeMenu" }, { "type": "object", @@ -81598,7 +62621,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -81609,44 +62632,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -81659,45 +62654,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -81738,25 +62712,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -81783,17 +62757,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -81801,24 +62775,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -81834,7 +62794,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" } } } @@ -81847,7 +62807,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" }, { "type": "object", @@ -81861,7 +62821,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -81872,44 +62832,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -81950,13 +62882,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -81967,7 +62899,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" }, { "type": "object", @@ -81981,7 +62913,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -81992,34 +62924,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -82032,7 +62943,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -82040,7 +62951,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" } } } @@ -82053,7 +62964,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" }, { "type": "object", @@ -82067,7 +62978,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -82078,44 +62989,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -82128,7 +63011,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -82136,7 +63019,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" } } } @@ -82149,7 +63032,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" }, { "type": "object", @@ -82163,7 +63046,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -82174,44 +63057,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -82224,7 +63079,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -82232,7 +63087,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" } } } @@ -82245,7 +63100,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ChargebackRateDetail" + "$ref": "#/components/schemas/ChargebackRateDetail" }, { "type": "object", @@ -82259,7 +63114,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -82270,44 +63125,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -82320,42 +63147,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -82386,246 +63192,112 @@ } } }, - "/api/{version}/regions": { - "get": { - "summary": "List Regions", - "description": "Returns a paginated list of Regions", - "operationId": "list_regions", - "tags": [ - "Regions" - ], - "parameters": [ - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - }, - { - "$ref": "/components/parameters/filter" - }, - { - "$ref": "/components/parameters/sortBy" - }, - { - "$ref": "/components/parameters/sortOrder" - }, - { - "$ref": "/components/parameters/offset" - }, - { - "$ref": "/components/parameters/limit" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "regions" - }, - "count": { - "type": "integer" - }, - "subcount": { - "type": "integer" - }, - "pages": { - "type": "integer" - }, - "resources": { - "type": "array", - "items": { - "$ref": "/components/schemas/MiqRegion" - } - }, - "actions": { - "type": "array", - "items": { - "$ref": "/components/schemas/Action" - } - }, - "links": { - "$ref": "/components/schemas/CollectionLinks" - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Create a Region", - "description": "Creates a new Region", - "operationId": "create_region", - "tags": [ - "Regions" - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/MiqRegion" - } - } - } - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/MiqRegion" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Regions", - "description": "Returns available HTTP methods and actions", - "operationId": "options_regions", - "tags": [ - "Regions" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/regions/{c_id}": { + "/api/{version}/regions": { "get": { - "summary": "Get a Region", - "description": "Returns a single Region by ID", - "operationId": "get_region", + "summary": "List Regions", + "description": "Returns a paginated list of Regions", + "operationId": "list_regions", "tags": [ "Regions" ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/sortBy" + }, + { + "$ref": "#/components/parameters/sortOrder" + }, + { + "$ref": "#/components/parameters/offset" + }, + { + "$ref": "#/components/parameters/limit" } ], "responses": { "200": { "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "regions" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MiqRegion" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Action" + } + }, + "links": { + "$ref": "#/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Create a Region", + "description": "Creates a new Region", + "operationId": "create_region", + "tags": [ + "Regions" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MiqRegion" + } + } + } + }, + "responses": { + "201": { + "description": "Created", "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqRegion" + "$ref": "#/components/schemas/MiqRegion" }, { "type": "object", @@ -82639,7 +63311,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -82649,35 +63321,106 @@ } } }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "400": { + "$ref": "#/components/responses/BadRequest" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Regions", + "description": "Returns available HTTP methods and actions", + "operationId": "options_regions", + "tags": [ + "Regions" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/regions/{c_id}": { + "get": { + "summary": "Get a Region", + "description": "Returns a single Region by ID", + "operationId": "get_region", + "tags": [ + "Regions" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" }, - "403": { - "description": "Forbidden", + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/MiqRegion" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -82690,7 +63433,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -82698,7 +63441,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqRegion" + "$ref": "#/components/schemas/MiqRegion" } } } @@ -82711,7 +63454,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqRegion" + "$ref": "#/components/schemas/MiqRegion" }, { "type": "object", @@ -82725,7 +63468,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -82736,44 +63479,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -82814,25 +63529,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -82859,17 +63574,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqReport" + "$ref": "#/components/schemas/MiqReport" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -82877,24 +63592,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -82910,7 +63611,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqReport" + "$ref": "#/components/schemas/MiqReport" } } } @@ -82923,7 +63624,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqReport" + "$ref": "#/components/schemas/MiqReport" }, { "type": "object", @@ -82937,7 +63638,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -82948,44 +63649,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -83026,13 +63699,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -83043,7 +63716,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqReport" + "$ref": "#/components/schemas/MiqReport" }, { "type": "object", @@ -83057,7 +63730,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -83068,34 +63741,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -83108,7 +63760,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -83116,7 +63768,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqReport" + "$ref": "#/components/schemas/MiqReport" } } } @@ -83129,7 +63781,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqReport" + "$ref": "#/components/schemas/MiqReport" }, { "type": "object", @@ -83143,7 +63795,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -83154,44 +63806,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -83232,28 +63856,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -83280,17 +63904,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqReportResult" + "$ref": "#/components/schemas/MiqReportResult" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -83298,34 +63922,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -83338,7 +63941,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -83346,7 +63949,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqReportResult" + "$ref": "#/components/schemas/MiqReportResult" } } } @@ -83359,7 +63962,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqReportResult" + "$ref": "#/components/schemas/MiqReportResult" }, { "type": "object", @@ -83373,7 +63976,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -83384,44 +63987,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -83462,16 +64037,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -83482,7 +64057,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqReportResult" + "$ref": "#/components/schemas/MiqReportResult" }, { "type": "object", @@ -83496,7 +64071,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -83507,34 +64082,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -83547,10 +64101,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -83558,7 +64112,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqReportResult" + "$ref": "#/components/schemas/MiqReportResult" } } } @@ -83571,7 +64125,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqReportResult" + "$ref": "#/components/schemas/MiqReportResult" }, { "type": "object", @@ -83585,7 +64139,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -83596,44 +64150,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -83646,45 +64172,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -83725,28 +64230,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -83773,17 +64278,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqSchedule" + "$ref": "#/components/schemas/MiqSchedule" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -83791,34 +64296,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -83831,7 +64315,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -83839,7 +64323,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqSchedule" + "$ref": "#/components/schemas/MiqSchedule" } } } @@ -83852,7 +64336,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqSchedule" + "$ref": "#/components/schemas/MiqSchedule" }, { "type": "object", @@ -83866,7 +64350,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -83877,44 +64361,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -83955,16 +64411,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -83975,7 +64431,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqSchedule" + "$ref": "#/components/schemas/MiqSchedule" }, { "type": "object", @@ -83989,7 +64445,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -84000,34 +64456,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -84040,10 +64475,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -84051,7 +64486,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqSchedule" + "$ref": "#/components/schemas/MiqSchedule" } } } @@ -84064,7 +64499,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqSchedule" + "$ref": "#/components/schemas/MiqSchedule" }, { "type": "object", @@ -84078,7 +64513,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -84089,44 +64524,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -84139,45 +64546,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -84218,25 +64604,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -84263,17 +64649,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -84281,24 +64667,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -84314,7 +64686,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" } } } @@ -84327,7 +64699,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" }, { "type": "object", @@ -84341,7 +64713,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -84352,44 +64724,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -84430,13 +64774,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -84447,7 +64791,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" }, { "type": "object", @@ -84461,7 +64805,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -84472,34 +64816,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -84512,7 +64835,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -84520,7 +64843,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" } } } @@ -84533,7 +64856,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" }, { "type": "object", @@ -84547,7 +64870,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -84558,44 +64881,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -84626,246 +64921,112 @@ } } }, - "/api/{version}/requests": { - "get": { - "summary": "List Requests", - "description": "Returns a paginated list of Requests", - "operationId": "list_requests", - "tags": [ - "Requests" - ], - "parameters": [ - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - }, - { - "$ref": "/components/parameters/filter" - }, - { - "$ref": "/components/parameters/sortBy" - }, - { - "$ref": "/components/parameters/sortOrder" - }, - { - "$ref": "/components/parameters/offset" - }, - { - "$ref": "/components/parameters/limit" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "requests" - }, - "count": { - "type": "integer" - }, - "subcount": { - "type": "integer" - }, - "pages": { - "type": "integer" - }, - "resources": { - "type": "array", - "items": { - "$ref": "/components/schemas/MiqRequest" - } - }, - "actions": { - "type": "array", - "items": { - "$ref": "/components/schemas/Action" - } - }, - "links": { - "$ref": "/components/schemas/CollectionLinks" - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Create a Request", - "description": "Creates a new Request", - "operationId": "create_request", - "tags": [ - "Requests" - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/MiqRequest" - } - } - } - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/MiqRequest" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Requests", - "description": "Returns available HTTP methods and actions", - "operationId": "options_requests", - "tags": [ - "Requests" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/requests/{c_id}": { + "/api/{version}/requests": { "get": { - "summary": "Get a Request", - "description": "Returns a single Request by ID", - "operationId": "get_request", + "summary": "List Requests", + "description": "Returns a paginated list of Requests", + "operationId": "list_requests", "tags": [ "Requests" ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/offset" + }, + { + "$ref": "#/components/parameters/limit" } ], "responses": { "200": { "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "requests" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MiqRequest" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Action" + } + }, + "links": { + "$ref": "#/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Create a Request", + "description": "Creates a new Request", + "operationId": "create_request", + "tags": [ + "Requests" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MiqRequest" + } + } + } + }, + "responses": { + "201": { + "description": "Created", "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqRequest" + "$ref": "#/components/schemas/MiqRequest" }, { "type": "object", @@ -84879,7 +65040,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -84889,35 +65050,106 @@ } } }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "400": { + "$ref": "#/components/responses/BadRequest" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Requests", + "description": "Returns available HTTP methods and actions", + "operationId": "options_requests", + "tags": [ + "Requests" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/requests/{c_id}": { + "get": { + "summary": "Get a Request", + "description": "Returns a single Request by ID", + "operationId": "get_request", + "tags": [ + "Requests" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" }, - "403": { - "description": "Forbidden", + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/MiqRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -84930,7 +65162,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -84938,7 +65170,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqRequest" + "$ref": "#/components/schemas/MiqRequest" } } } @@ -84951,7 +65183,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqRequest" + "$ref": "#/components/schemas/MiqRequest" }, { "type": "object", @@ -84965,7 +65197,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -84976,44 +65208,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -85054,28 +65258,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -85102,17 +65306,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -85120,34 +65324,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -85160,7 +65343,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -85168,7 +65351,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" } } } @@ -85181,7 +65364,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" }, { "type": "object", @@ -85195,7 +65378,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -85206,44 +65389,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -85284,16 +65439,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -85304,7 +65459,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" }, { "type": "object", @@ -85318,7 +65473,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -85329,34 +65484,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -85369,10 +65503,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -85380,7 +65514,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" } } } @@ -85393,7 +65527,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" }, { "type": "object", @@ -85407,7 +65541,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -85418,44 +65552,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -85496,25 +65602,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -85541,17 +65647,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ResourcePool" + "$ref": "#/components/schemas/ResourcePool" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -85559,24 +65665,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -85592,7 +65684,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ResourcePool" + "$ref": "#/components/schemas/ResourcePool" } } } @@ -85605,7 +65697,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ResourcePool" + "$ref": "#/components/schemas/ResourcePool" }, { "type": "object", @@ -85619,7 +65711,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -85630,44 +65722,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -85708,13 +65772,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -85725,7 +65789,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ResourcePool" + "$ref": "#/components/schemas/ResourcePool" }, { "type": "object", @@ -85739,7 +65803,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -85750,34 +65814,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -85790,7 +65833,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -85798,7 +65841,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ResourcePool" + "$ref": "#/components/schemas/ResourcePool" } } } @@ -85811,7 +65854,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ResourcePool" + "$ref": "#/components/schemas/ResourcePool" }, { "type": "object", @@ -85825,7 +65868,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -85836,44 +65879,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -85914,28 +65929,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -85962,17 +65977,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -85980,34 +65995,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -86020,7 +66014,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -86028,7 +66022,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -86041,7 +66035,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -86055,7 +66049,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -86066,44 +66060,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -86144,16 +66110,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -86164,7 +66130,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -86178,7 +66144,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -86189,34 +66155,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -86229,10 +66174,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -86240,7 +66185,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -86253,7 +66198,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -86267,7 +66212,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -86278,44 +66223,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -86328,45 +66245,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -86407,28 +66303,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -86455,17 +66351,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -86473,34 +66369,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -86513,7 +66388,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -86521,7 +66396,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } } } @@ -86534,7 +66409,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -86548,7 +66423,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -86559,44 +66434,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -86637,16 +66484,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -86657,7 +66504,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -86671,7 +66518,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -86682,34 +66529,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -86722,10 +66548,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -86733,7 +66559,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } } } @@ -86746,7 +66572,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -86760,7 +66586,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -86771,44 +66597,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -86821,45 +66619,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -86900,28 +66677,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -86948,17 +66725,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -86966,34 +66743,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -87006,7 +66762,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -87014,7 +66770,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -87027,7 +66783,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -87041,7 +66797,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -87052,44 +66808,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -87130,16 +66858,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -87150,7 +66878,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -87164,7 +66892,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -87175,34 +66903,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -87215,10 +66922,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -87226,7 +66933,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -87239,7 +66946,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -87253,7 +66960,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -87264,44 +66971,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -87314,10 +66993,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -87325,7 +67004,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -87338,7 +67017,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -87352,7 +67031,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -87363,44 +67042,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -87413,10 +67064,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -87424,7 +67075,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -87437,7 +67088,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -87451,7 +67102,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -87462,44 +67113,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -87512,45 +67135,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -87591,25 +67193,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -87636,17 +67238,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqReportResult" + "$ref": "#/components/schemas/MiqReportResult" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -87654,24 +67256,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -87687,7 +67275,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqReportResult" + "$ref": "#/components/schemas/MiqReportResult" } } } @@ -87700,127 +67288,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqReportResult" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Report Results", - "description": "Returns available HTTP methods and actions", - "operationId": "options_results", - "tags": [ - "Report Results" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/results/{c_id}": { - "get": { - "summary": "Get a Report Result", - "description": "Returns a single Report Result by ID", - "operationId": "get_result", - "tags": [ - "Report Results" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/MiqReportResult" + "$ref": "#/components/schemas/MiqReportResult" }, { "type": "object", @@ -87834,7 +67302,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -87844,35 +67312,106 @@ } } }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "400": { + "$ref": "#/components/responses/BadRequest" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Report Results", + "description": "Returns available HTTP methods and actions", + "operationId": "options_results", + "tags": [ + "Report Results" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/results/{c_id}": { + "get": { + "summary": "Get a Report Result", + "description": "Returns a single Report Result by ID", + "operationId": "get_result", + "tags": [ + "Report Results" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" }, - "403": { - "description": "Forbidden", + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/MiqReportResult" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -87885,7 +67424,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -87893,7 +67432,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqReportResult" + "$ref": "#/components/schemas/MiqReportResult" } } } @@ -87906,7 +67445,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqReportResult" + "$ref": "#/components/schemas/MiqReportResult" }, { "type": "object", @@ -87920,7 +67459,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -87931,44 +67470,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -87981,42 +67492,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -88057,25 +67547,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -88102,17 +67592,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqUserRole" + "$ref": "#/components/schemas/MiqUserRole" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -88120,24 +67610,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -88153,7 +67629,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqUserRole" + "$ref": "#/components/schemas/MiqUserRole" } } } @@ -88166,7 +67642,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqUserRole" + "$ref": "#/components/schemas/MiqUserRole" }, { "type": "object", @@ -88180,7 +67656,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -88191,44 +67667,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -88269,13 +67717,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -88286,7 +67734,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqUserRole" + "$ref": "#/components/schemas/MiqUserRole" }, { "type": "object", @@ -88300,7 +67748,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -88311,34 +67759,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -88351,7 +67778,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -88359,7 +67786,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqUserRole" + "$ref": "#/components/schemas/MiqUserRole" } } } @@ -88372,7 +67799,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqUserRole" + "$ref": "#/components/schemas/MiqUserRole" }, { "type": "object", @@ -88386,7 +67813,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -88397,44 +67824,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -88447,42 +67846,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -88523,28 +67901,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -88571,17 +67949,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqProductFeature" + "$ref": "#/components/schemas/MiqProductFeature" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -88589,34 +67967,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -88629,7 +67986,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -88637,7 +67994,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqProductFeature" + "$ref": "#/components/schemas/MiqProductFeature" } } } @@ -88650,7 +68007,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqProductFeature" + "$ref": "#/components/schemas/MiqProductFeature" }, { "type": "object", @@ -88664,7 +68021,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -88675,44 +68032,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -88753,16 +68082,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -88773,7 +68102,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqProductFeature" + "$ref": "#/components/schemas/MiqProductFeature" }, { "type": "object", @@ -88787,7 +68116,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -88798,34 +68127,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -88838,10 +68146,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -88849,7 +68157,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqProductFeature" + "$ref": "#/components/schemas/MiqProductFeature" } } } @@ -88862,7 +68170,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqProductFeature" + "$ref": "#/components/schemas/MiqProductFeature" }, { "type": "object", @@ -88876,7 +68184,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -88887,44 +68195,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -88965,25 +68245,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -89010,17 +68290,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqSearch" + "$ref": "#/components/schemas/MiqSearch" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -89028,24 +68308,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -89061,7 +68327,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqSearch" + "$ref": "#/components/schemas/MiqSearch" } } } @@ -89074,7 +68340,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqSearch" + "$ref": "#/components/schemas/MiqSearch" }, { "type": "object", @@ -89088,7 +68354,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -89099,44 +68365,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -89177,13 +68415,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -89194,7 +68432,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqSearch" + "$ref": "#/components/schemas/MiqSearch" }, { "type": "object", @@ -89208,7 +68446,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -89219,34 +68457,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -89259,7 +68476,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -89267,7 +68484,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqSearch" + "$ref": "#/components/schemas/MiqSearch" } } } @@ -89280,7 +68497,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqSearch" + "$ref": "#/components/schemas/MiqSearch" }, { "type": "object", @@ -89294,7 +68511,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -89305,44 +68522,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -89355,42 +68544,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -89431,25 +68599,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -89476,17 +68644,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -89494,24 +68662,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -89527,7 +68681,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" } } } @@ -89540,127 +68694,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityGroup" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Security Groups", - "description": "Returns available HTTP methods and actions", - "operationId": "options_security_groups", - "tags": [ - "Security Groups" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/security_groups/{c_id}": { - "get": { - "summary": "Get a Security Group", - "description": "Returns a single Security Group by ID", - "operationId": "get_security_group", - "tags": [ - "Security Groups" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" }, { "type": "object", @@ -89674,7 +68708,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -89684,35 +68718,106 @@ } } }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "400": { + "$ref": "#/components/responses/BadRequest" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Security Groups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_security_groups", + "tags": [ + "Security Groups" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/security_groups/{c_id}": { + "get": { + "summary": "Get a Security Group", + "description": "Returns a single Security Group by ID", + "operationId": "get_security_group", + "tags": [ + "Security Groups" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" }, - "403": { - "description": "Forbidden", + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/SecurityGroup" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -89725,7 +68830,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -89747,7 +68852,7 @@ ] }, { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" } ] } @@ -89762,7 +68867,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" }, { "type": "object", @@ -89776,7 +68881,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -89787,44 +68892,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -89865,28 +68942,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -89913,17 +68990,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -89931,34 +69008,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -89971,7 +69027,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -89979,7 +69035,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -89992,7 +69048,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -90006,7 +69062,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -90017,44 +69073,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -90095,16 +69123,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -90115,7 +69143,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -90129,7 +69157,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -90140,34 +69168,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -90180,10 +69187,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -90191,7 +69198,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -90204,7 +69211,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -90218,7 +69225,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -90229,44 +69236,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -90279,45 +69258,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -90358,25 +69316,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -90403,17 +69361,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/SecurityPolicy" + "$ref": "#/components/schemas/SecurityPolicy" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -90421,24 +69379,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -90454,7 +69398,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/SecurityPolicy" + "$ref": "#/components/schemas/SecurityPolicy" } } } @@ -90467,7 +69411,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityPolicy" + "$ref": "#/components/schemas/SecurityPolicy" }, { "type": "object", @@ -90481,7 +69425,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -90492,44 +69436,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -90570,13 +69486,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -90587,7 +69503,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityPolicy" + "$ref": "#/components/schemas/SecurityPolicy" }, { "type": "object", @@ -90601,7 +69517,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -90612,34 +69528,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -90652,7 +69547,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -90674,7 +69569,7 @@ ] }, { - "$ref": "/components/schemas/SecurityPolicy" + "$ref": "#/components/schemas/SecurityPolicy" } ] } @@ -90689,7 +69584,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityPolicy" + "$ref": "#/components/schemas/SecurityPolicy" }, { "type": "object", @@ -90703,7 +69598,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -90714,44 +69609,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -90764,42 +69631,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -90840,28 +69686,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -90888,17 +69734,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -90906,34 +69752,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -90946,7 +69771,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -90954,7 +69779,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -90967,7 +69792,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -90981,7 +69806,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -90992,44 +69817,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -91070,16 +69867,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -91090,7 +69887,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -91104,7 +69901,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -91115,34 +69912,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -91155,10 +69931,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -91166,7 +69942,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -91179,7 +69955,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -91193,7 +69969,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -91204,44 +69980,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -91254,45 +70002,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -91333,28 +70060,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -91381,17 +70108,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/SecurityPolicyRule" + "$ref": "#/components/schemas/SecurityPolicyRule" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -91399,34 +70126,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -91439,7 +70145,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -91447,7 +70153,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/SecurityPolicyRule" + "$ref": "#/components/schemas/SecurityPolicyRule" } } } @@ -91460,7 +70166,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityPolicyRule" + "$ref": "#/components/schemas/SecurityPolicyRule" }, { "type": "object", @@ -91474,7 +70180,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -91485,44 +70191,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -91563,16 +70241,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -91583,7 +70261,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityPolicyRule" + "$ref": "#/components/schemas/SecurityPolicyRule" }, { "type": "object", @@ -91597,7 +70275,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -91608,34 +70286,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -91648,10 +70305,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -91659,7 +70316,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/SecurityPolicyRule" + "$ref": "#/components/schemas/SecurityPolicyRule" } } } @@ -91672,7 +70329,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityPolicyRule" + "$ref": "#/components/schemas/SecurityPolicyRule" }, { "type": "object", @@ -91686,7 +70343,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -91697,44 +70354,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -91747,45 +70376,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -91826,25 +70434,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -91871,17 +70479,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/SecurityPolicyRule" + "$ref": "#/components/schemas/SecurityPolicyRule" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -91889,24 +70497,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -91922,7 +70516,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/SecurityPolicyRule" + "$ref": "#/components/schemas/SecurityPolicyRule" } } } @@ -91935,7 +70529,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityPolicyRule" + "$ref": "#/components/schemas/SecurityPolicyRule" }, { "type": "object", @@ -91949,7 +70543,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -91960,44 +70554,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -92038,13 +70604,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -92055,7 +70621,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityPolicyRule" + "$ref": "#/components/schemas/SecurityPolicyRule" }, { "type": "object", @@ -92069,7 +70635,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -92080,34 +70646,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -92120,7 +70665,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -92142,7 +70687,7 @@ ] }, { - "$ref": "/components/schemas/SecurityPolicyRule" + "$ref": "#/components/schemas/SecurityPolicyRule" } ] } @@ -92157,7 +70702,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityPolicyRule" + "$ref": "#/components/schemas/SecurityPolicyRule" }, { "type": "object", @@ -92171,7 +70716,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -92182,44 +70727,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -92232,42 +70749,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -92308,28 +70804,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -92356,17 +70852,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -92374,34 +70870,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -92414,7 +70889,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -92422,7 +70897,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -92435,7 +70910,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -92449,7 +70924,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -92460,44 +70935,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -92538,16 +70985,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -92558,7 +71005,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -92572,7 +71019,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -92583,34 +71030,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -92623,10 +71049,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -92634,7 +71060,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -92647,7 +71073,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -92661,7 +71087,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -92672,44 +71098,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -92722,45 +71120,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -92801,25 +71178,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -92846,17 +71223,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqServer" + "$ref": "#/components/schemas/MiqServer" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -92864,24 +71241,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -92897,7 +71260,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqServer" + "$ref": "#/components/schemas/MiqServer" } } } @@ -92910,7 +71273,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqServer" + "$ref": "#/components/schemas/MiqServer" }, { "type": "object", @@ -92924,7 +71287,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -92935,44 +71298,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -93013,13 +71348,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -93030,7 +71365,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqServer" + "$ref": "#/components/schemas/MiqServer" }, { "type": "object", @@ -93044,7 +71379,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -93055,34 +71390,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -93095,7 +71409,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -93103,7 +71417,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqServer" + "$ref": "#/components/schemas/MiqServer" } } } @@ -93116,7 +71430,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqServer" + "$ref": "#/components/schemas/MiqServer" }, { "type": "object", @@ -93130,55 +71444,27 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" + ] } } } }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -93191,42 +71477,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -93267,25 +71532,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -93312,17 +71577,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ServiceTemplateCatalog" + "$ref": "#/components/schemas/ServiceTemplateCatalog" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -93330,24 +71595,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -93363,7 +71614,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceTemplateCatalog" + "$ref": "#/components/schemas/ServiceTemplateCatalog" } } } @@ -93376,7 +71627,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplateCatalog" + "$ref": "#/components/schemas/ServiceTemplateCatalog" }, { "type": "object", @@ -93390,7 +71641,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -93401,44 +71652,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -93479,13 +71702,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -93496,7 +71719,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplateCatalog" + "$ref": "#/components/schemas/ServiceTemplateCatalog" }, { "type": "object", @@ -93510,7 +71733,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -93521,34 +71744,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -93561,7 +71763,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -93569,7 +71771,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceTemplateCatalog" + "$ref": "#/components/schemas/ServiceTemplateCatalog" } } } @@ -93582,7 +71784,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplateCatalog" + "$ref": "#/components/schemas/ServiceTemplateCatalog" }, { "type": "object", @@ -93596,7 +71798,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -93607,44 +71809,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -93657,7 +71831,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -93665,7 +71839,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceTemplateCatalog" + "$ref": "#/components/schemas/ServiceTemplateCatalog" } } } @@ -93678,7 +71852,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplateCatalog" + "$ref": "#/components/schemas/ServiceTemplateCatalog" }, { "type": "object", @@ -93692,7 +71866,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -93703,44 +71877,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -93753,7 +71899,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -93761,7 +71907,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceTemplateCatalog" + "$ref": "#/components/schemas/ServiceTemplateCatalog" } } } @@ -93774,7 +71920,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplateCatalog" + "$ref": "#/components/schemas/ServiceTemplateCatalog" }, { "type": "object", @@ -93788,7 +71934,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -93799,44 +71945,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -93849,42 +71967,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -93925,28 +72022,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -93973,17 +72070,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -93991,34 +72088,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -94031,7 +72107,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -94039,7 +72115,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" } } } @@ -94052,7 +72128,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" }, { "type": "object", @@ -94066,7 +72142,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -94077,44 +72153,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -94155,16 +72203,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -94175,7 +72223,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" }, { "type": "object", @@ -94189,7 +72237,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -94200,34 +72248,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -94240,10 +72267,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -94251,7 +72278,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" } } } @@ -94264,7 +72291,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" }, { "type": "object", @@ -94278,7 +72305,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -94289,44 +72316,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -94339,10 +72338,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -94350,7 +72349,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" } } } @@ -94363,7 +72362,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" }, { "type": "object", @@ -94377,7 +72376,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -94388,44 +72387,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -94438,10 +72409,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -94449,7 +72420,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" } } } @@ -94462,7 +72433,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" }, { "type": "object", @@ -94476,7 +72447,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -94487,44 +72458,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -94537,45 +72480,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -94606,246 +72528,112 @@ } } }, - "/api/{version}/service_dialogs": { - "get": { - "summary": "List Service Dialogs", - "description": "Returns a paginated list of Service Dialogs", - "operationId": "list_service_dialogs", - "tags": [ - "Service Dialogs" - ], - "parameters": [ - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - }, - { - "$ref": "/components/parameters/filter" - }, - { - "$ref": "/components/parameters/sortBy" - }, - { - "$ref": "/components/parameters/sortOrder" - }, - { - "$ref": "/components/parameters/offset" - }, - { - "$ref": "/components/parameters/limit" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "service_dialogs" - }, - "count": { - "type": "integer" - }, - "subcount": { - "type": "integer" - }, - "pages": { - "type": "integer" - }, - "resources": { - "type": "array", - "items": { - "$ref": "/components/schemas/Dialog" - } - }, - "actions": { - "type": "array", - "items": { - "$ref": "/components/schemas/Action" - } - }, - "links": { - "$ref": "/components/schemas/CollectionLinks" - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Create a Service Dialog", - "description": "Creates a new Service Dialog", - "operationId": "create_service_dialog", - "tags": [ - "Service Dialogs" - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Dialog" - } - } - } - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/Dialog" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Service Dialogs", - "description": "Returns available HTTP methods and actions", - "operationId": "options_service_dialogs", - "tags": [ - "Service Dialogs" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/service_dialogs/{c_id}": { + "/api/{version}/service_dialogs": { "get": { - "summary": "Get a Service Dialog", - "description": "Returns a single Service Dialog by ID", - "operationId": "get_service_dialog", + "summary": "List Service Dialogs", + "description": "Returns a paginated list of Service Dialogs", + "operationId": "list_service_dialogs", "tags": [ "Service Dialogs" ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/sortBy" + }, + { + "$ref": "#/components/parameters/sortOrder" + }, + { + "$ref": "#/components/parameters/offset" + }, + { + "$ref": "#/components/parameters/limit" } ], "responses": { "200": { "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "service_dialogs" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Dialog" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Action" + } + }, + "links": { + "$ref": "#/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Create a Service Dialog", + "description": "Creates a new Service Dialog", + "operationId": "create_service_dialog", + "tags": [ + "Service Dialogs" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Dialog" + } + } + } + }, + "responses": { + "201": { + "description": "Created", "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "/components/schemas/Dialog" + "$ref": "#/components/schemas/Dialog" }, { "type": "object", @@ -94859,7 +72647,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -94869,35 +72657,106 @@ } } }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "400": { + "$ref": "#/components/responses/BadRequest" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Service Dialogs", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_dialogs", + "tags": [ + "Service Dialogs" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/service_dialogs/{c_id}": { + "get": { + "summary": "Get a Service Dialog", + "description": "Returns a single Service Dialog by ID", + "operationId": "get_service_dialog", + "tags": [ + "Service Dialogs" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" }, - "403": { - "description": "Forbidden", + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/Dialog" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -94910,7 +72769,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -94918,7 +72777,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Dialog" + "$ref": "#/components/schemas/Dialog" } } } @@ -94931,7 +72790,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Dialog" + "$ref": "#/components/schemas/Dialog" }, { "type": "object", @@ -94945,7 +72804,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -94956,44 +72815,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -95006,42 +72837,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -95082,25 +72892,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -95127,17 +72937,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ServiceOffering" + "$ref": "#/components/schemas/ServiceOffering" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -95145,24 +72955,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -95203,13 +72999,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -95220,7 +73016,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceOffering" + "$ref": "#/components/schemas/ServiceOffering" }, { "type": "object", @@ -95234,7 +73030,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -95245,34 +73041,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -95313,28 +73088,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -95361,17 +73136,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ServiceParametersSet" + "$ref": "#/components/schemas/ServiceParametersSet" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -95379,34 +73154,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -95447,16 +73201,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -95467,7 +73221,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceParametersSet" + "$ref": "#/components/schemas/ServiceParametersSet" }, { "type": "object", @@ -95481,7 +73235,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -95492,34 +73246,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -95560,25 +73293,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -95605,17 +73338,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/ServiceOrder" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -95623,24 +73356,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -95656,7 +73375,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/ServiceOrder" } } } @@ -95669,7 +73388,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/ServiceOrder" }, { "type": "object", @@ -95683,7 +73402,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -95694,44 +73413,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -95772,13 +73463,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -95789,7 +73480,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/ServiceOrder" }, { "type": "object", @@ -95803,7 +73494,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -95814,34 +73505,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -95854,7 +73524,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -95862,7 +73532,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/ServiceOrder" } } } @@ -95875,7 +73545,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/ServiceOrder" }, { "type": "object", @@ -95889,7 +73559,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -95900,44 +73570,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -95950,7 +73592,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -95958,7 +73600,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/ServiceOrder" } } } @@ -95971,7 +73613,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/ServiceOrder" }, { "type": "object", @@ -95985,7 +73627,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -95996,44 +73638,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -96046,7 +73660,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -96054,7 +73668,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/ServiceOrder" } } } @@ -96067,7 +73681,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/ServiceOrder" }, { "type": "object", @@ -96081,7 +73695,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -96092,44 +73706,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -96142,42 +73728,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -96218,28 +73783,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -96266,17 +73831,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -96284,34 +73849,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -96324,7 +73868,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -96332,7 +73876,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" } } } @@ -96345,7 +73889,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" }, { "type": "object", @@ -96359,7 +73903,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -96370,44 +73914,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -96448,16 +73964,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -96468,7 +73984,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" }, { "type": "object", @@ -96482,7 +73998,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -96493,34 +74009,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -96533,10 +74028,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -96544,7 +74039,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" } } } @@ -96557,7 +74052,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" }, { "type": "object", @@ -96571,7 +74066,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -96582,44 +74077,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -96632,45 +74099,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -96711,25 +74157,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -96756,17 +74202,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ServiceParametersSet" + "$ref": "#/components/schemas/ServiceParametersSet" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -96774,24 +74220,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -96832,226 +74264,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/ServiceParametersSet" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Service Parameters Sets", - "description": "Returns available HTTP methods and actions", - "operationId": "options_service_parameters_sets", - "tags": [ - "Service Parameters Sets" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/service_requests": { - "get": { - "summary": "List Service Requests", - "description": "Returns a paginated list of Service Requests", - "operationId": "list_service_requests", - "tags": [ - "Service Requests" - ], - "parameters": [ - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - }, - { - "$ref": "/components/parameters/filter" - }, - { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/offset" - }, - { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/attributes" } ], "responses": { "200": { "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "service_requests" - }, - "count": { - "type": "integer" - }, - "subcount": { - "type": "integer" - }, - "pages": { - "type": "integer" - }, - "resources": { - "type": "array", - "items": { - "$ref": "/components/schemas/ServiceTemplateProvisionRequest" - } - }, - "actions": { - "type": "array", - "items": { - "$ref": "/components/schemas/Action" - } - }, - "links": { - "$ref": "/components/schemas/CollectionLinks" - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Create a Service Request", - "description": "Creates a new Service Request", - "operationId": "create_service_request", - "tags": [ - "Service Requests" - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ServiceTemplateProvisionRequest" - } - } - } - }, - "responses": { - "201": { - "description": "Created", "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + "$ref": "#/components/schemas/ServiceParametersSet" }, { "type": "object", @@ -97065,7 +74295,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -97075,45 +74305,184 @@ } } }, - "400": { - "description": "Bad Request", + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Service Parameters Sets", + "description": "Returns available HTTP methods and actions", + "operationId": "options_service_parameters_sets", + "tags": [ + "Service Parameters Sets" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/service_requests": { + "get": { + "summary": "List Service Requests", + "description": "Returns a paginated list of Service Requests", + "operationId": "list_service_requests", + "tags": [ + "Service Requests" + ], + "parameters": [ + { + "$ref": "#/components/parameters/expand" }, - "422": { - "description": "Unprocessable Entity", + { + "$ref": "#/components/parameters/attributes" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/sortBy" + }, + { + "$ref": "#/components/parameters/sortOrder" + }, + { + "$ref": "#/components/parameters/offset" + }, + { + "$ref": "#/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ValidationError" + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "service_requests" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Action" + } + }, + "links": { + "$ref": "#/components/schemas/CollectionLinks" + } + } } } } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Create a Service Request", + "description": "Creates a new Service Request", + "operationId": "create_service_request", + "tags": [ + "Service Requests" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" + } + } + } + }, + "responses": { + "201": { + "description": "Created", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "400": { + "$ref": "#/components/responses/BadRequest" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -97154,13 +74523,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -97171,7 +74540,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" }, { "type": "object", @@ -97185,7 +74554,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -97196,34 +74565,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -97236,7 +74584,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -97244,7 +74592,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" } } } @@ -97257,7 +74605,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" }, { "type": "object", @@ -97271,7 +74619,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -97282,44 +74630,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -97332,42 +74652,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -97408,28 +74707,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -97456,17 +74755,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -97474,34 +74773,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -97514,7 +74792,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -97522,7 +74800,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" } } } @@ -97535,7 +74813,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" }, { "type": "object", @@ -97549,7 +74827,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -97560,44 +74838,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -97638,16 +74888,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -97658,7 +74908,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" }, { "type": "object", @@ -97672,7 +74922,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -97683,34 +74933,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -97723,10 +74952,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -97734,7 +74963,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" } } } @@ -97747,7 +74976,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqRequestTask" }, { "type": "object", @@ -97761,7 +74990,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -97772,44 +75001,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -97850,25 +75051,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -97895,17 +75096,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -97913,24 +75114,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -97946,7 +75133,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" } } } @@ -97959,7 +75146,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" }, { "type": "object", @@ -97973,7 +75160,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -97984,44 +75171,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -98062,13 +75221,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -98079,7 +75238,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" }, { "type": "object", @@ -98093,7 +75252,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -98104,34 +75263,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -98144,7 +75282,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -98152,7 +75290,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" } } } @@ -98165,7 +75303,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" }, { "type": "object", @@ -98179,7 +75317,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -98190,44 +75328,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -98240,7 +75350,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -98262,7 +75372,7 @@ ] }, { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" } ] } @@ -98277,7 +75387,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" }, { "type": "object", @@ -98291,7 +75401,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -98302,44 +75412,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -98352,7 +75434,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -98360,7 +75442,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" } } } @@ -98373,7 +75455,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplate" + "$ref": "#/components/schemas/ServiceTemplate" }, { "type": "object", @@ -98387,7 +75469,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -98398,44 +75480,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -98448,42 +75502,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -98524,28 +75557,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -98572,17 +75605,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ResourceAction" + "$ref": "#/components/schemas/ResourceAction" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -98590,34 +75623,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -98658,16 +75670,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -98678,7 +75690,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ResourceAction" + "$ref": "#/components/schemas/ResourceAction" }, { "type": "object", @@ -98692,7 +75704,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -98703,34 +75715,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -98771,28 +75762,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -98819,17 +75810,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -98837,34 +75828,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -98877,7 +75847,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -98885,7 +75855,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -98898,7 +75868,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -98912,7 +75882,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -98923,44 +75893,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -99001,16 +75943,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -99021,7 +75963,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -99035,7 +75977,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -99046,34 +75988,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -99086,10 +76007,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -99097,7 +76018,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -99110,7 +76031,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -99124,7 +76045,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -99135,44 +76056,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -99185,45 +76078,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -99264,28 +76136,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -99312,17 +76184,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqSchedule" + "$ref": "#/components/schemas/MiqSchedule" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -99330,34 +76202,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -99370,7 +76221,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -99378,7 +76229,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqSchedule" + "$ref": "#/components/schemas/MiqSchedule" } } } @@ -99391,7 +76242,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqSchedule" + "$ref": "#/components/schemas/MiqSchedule" }, { "type": "object", @@ -99405,7 +76256,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -99416,44 +76267,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -99494,16 +76317,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -99514,7 +76337,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqSchedule" + "$ref": "#/components/schemas/MiqSchedule" }, { "type": "object", @@ -99528,7 +76351,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -99539,34 +76362,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -99579,10 +76381,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -99590,7 +76392,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqSchedule" + "$ref": "#/components/schemas/MiqSchedule" } } } @@ -99603,7 +76405,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqSchedule" + "$ref": "#/components/schemas/MiqSchedule" }, { "type": "object", @@ -99617,7 +76419,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -99628,44 +76430,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -99678,45 +76452,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -99757,28 +76510,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -99805,17 +76558,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -99823,34 +76576,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -99863,7 +76595,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -99871,7 +76603,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" } } } @@ -99884,7 +76616,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" }, { "type": "object", @@ -99898,7 +76630,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -99909,44 +76641,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -99987,16 +76691,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -100007,7 +76711,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" }, { "type": "object", @@ -100021,7 +76725,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -100032,34 +76736,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -100072,10 +76755,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -100083,7 +76766,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" } } } @@ -100096,7 +76779,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/ServiceTemplateProvisionRequest" + "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" }, { "type": "object", @@ -100110,7 +76793,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -100121,44 +76804,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -100171,45 +76826,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -100250,28 +76884,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -100298,17 +76932,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Dialog" + "$ref": "#/components/schemas/Dialog" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -100316,34 +76950,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -100356,7 +76969,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -100364,7 +76977,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Dialog" + "$ref": "#/components/schemas/Dialog" } } } @@ -100377,7 +76990,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Dialog" + "$ref": "#/components/schemas/Dialog" }, { "type": "object", @@ -100391,7 +77004,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -100402,44 +77015,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -100480,16 +77065,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -100500,7 +77085,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Dialog" + "$ref": "#/components/schemas/Dialog" }, { "type": "object", @@ -100514,7 +77099,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -100525,34 +77110,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -100565,10 +77129,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -100576,7 +77140,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Dialog" + "$ref": "#/components/schemas/Dialog" } } } @@ -100589,7 +77153,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Dialog" + "$ref": "#/components/schemas/Dialog" }, { "type": "object", @@ -100603,7 +77167,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -100614,44 +77178,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -100664,45 +77200,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -100743,25 +77258,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -100788,17 +77303,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Service" + "$ref": "#/components/schemas/Service" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -100806,24 +77321,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -100839,7 +77340,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Service" + "$ref": "#/components/schemas/Service" } } } @@ -100852,7 +77353,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Service" + "$ref": "#/components/schemas/Service" }, { "type": "object", @@ -100866,7 +77367,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -100877,44 +77378,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -100955,13 +77428,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -100972,7 +77445,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Service" + "$ref": "#/components/schemas/Service" }, { "type": "object", @@ -100986,7 +77459,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -100997,34 +77470,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -101037,7 +77489,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -101045,7 +77497,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Service" + "$ref": "#/components/schemas/Service" } } } @@ -101058,7 +77510,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Service" + "$ref": "#/components/schemas/Service" }, { "type": "object", @@ -101072,7 +77524,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -101083,44 +77535,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -101133,7 +77557,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -101155,7 +77579,7 @@ ] }, { - "$ref": "/components/schemas/Service" + "$ref": "#/components/schemas/Service" } ] } @@ -101170,7 +77594,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Service" + "$ref": "#/components/schemas/Service" }, { "type": "object", @@ -101184,7 +77608,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -101195,44 +77619,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -101245,7 +77641,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -101253,7 +77649,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Service" + "$ref": "#/components/schemas/Service" } } } @@ -101266,7 +77662,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Service" + "$ref": "#/components/schemas/Service" }, { "type": "object", @@ -101280,7 +77676,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -101291,44 +77687,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -101341,42 +77709,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -101417,28 +77764,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -101465,17 +77812,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -101483,34 +77830,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -101523,7 +77849,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -101531,7 +77857,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -101544,7 +77870,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -101558,7 +77884,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -101569,44 +77895,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -101647,16 +77945,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -101667,7 +77965,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -101681,7 +77979,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -101692,34 +77990,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -101732,10 +78009,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -101743,7 +78020,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -101756,7 +78033,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -101770,7 +78047,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -101781,44 +78058,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -101831,45 +78080,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -101910,28 +78138,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -101958,17 +78186,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Dialog" + "$ref": "#/components/schemas/Dialog" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -101976,34 +78204,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -102016,7 +78223,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -102024,7 +78231,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Dialog" + "$ref": "#/components/schemas/Dialog" } } } @@ -102037,7 +78244,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Dialog" + "$ref": "#/components/schemas/Dialog" }, { "type": "object", @@ -102051,7 +78258,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -102062,44 +78269,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -102140,16 +78319,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -102160,7 +78339,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Dialog" + "$ref": "#/components/schemas/Dialog" }, { "type": "object", @@ -102174,7 +78353,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -102185,34 +78364,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -102225,10 +78383,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -102236,7 +78394,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Dialog" + "$ref": "#/components/schemas/Dialog" } } } @@ -102249,7 +78407,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Dialog" + "$ref": "#/components/schemas/Dialog" }, { "type": "object", @@ -102263,7 +78421,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -102274,44 +78432,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -102324,45 +78454,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -102403,28 +78512,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -102451,17 +78560,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Vm" + "$ref": "#/components/schemas/Vm" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -102469,34 +78578,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -102509,7 +78597,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -102517,7 +78605,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Vm" + "$ref": "#/components/schemas/Vm" } } } @@ -102530,130 +78618,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Vm" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Virtual Machines", - "description": "Returns available HTTP methods and actions", - "operationId": "options_vms", - "tags": [ - "Virtual Machines" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/services/{c_id}/vms/{s_id}": { - "get": { - "summary": "Get a Virtual Machine", - "description": "Returns a single Virtual Machine by ID", - "operationId": "get_service_vm", - "tags": [ - "Services" - ], - "parameters": [ - { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/subResourceId" - }, - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/Vm" + "$ref": "#/components/schemas/Vm" }, { "type": "object", @@ -102667,7 +78632,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -102678,34 +78643,108 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Virtual Machines", + "description": "Returns available HTTP methods and actions", + "operationId": "options_vms", + "tags": [ + "Virtual Machines" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/services/{c_id}/vms/{s_id}": { + "get": { + "summary": "Get a Virtual Machine", + "description": "Returns a single Virtual Machine by ID", + "operationId": "get_service_vm", + "tags": [ + "Services" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" }, - "403": { - "description": "Forbidden", + { + "$ref": "#/components/parameters/subResourceId" + }, + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/Vm" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -102718,10 +78757,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -102729,7 +78768,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Vm" + "$ref": "#/components/schemas/Vm" } } } @@ -102742,7 +78781,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Vm" + "$ref": "#/components/schemas/Vm" }, { "type": "object", @@ -102756,7 +78795,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -102767,44 +78806,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -102817,45 +78828,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -102896,28 +78886,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -102944,17 +78934,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/OrchestrationStack" + "$ref": "#/components/schemas/OrchestrationStack" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -102962,34 +78952,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -103002,7 +78971,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -103010,7 +78979,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/OrchestrationStack" + "$ref": "#/components/schemas/OrchestrationStack" } } } @@ -103023,7 +78992,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/OrchestrationStack" + "$ref": "#/components/schemas/OrchestrationStack" }, { "type": "object", @@ -103037,7 +79006,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -103048,44 +79017,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -103126,16 +79067,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -103146,7 +79087,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/OrchestrationStack" + "$ref": "#/components/schemas/OrchestrationStack" }, { "type": "object", @@ -103160,7 +79101,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -103171,34 +79112,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -103211,10 +79131,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -103222,7 +79142,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/OrchestrationStack" + "$ref": "#/components/schemas/OrchestrationStack" } } } @@ -103235,7 +79155,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/OrchestrationStack" + "$ref": "#/components/schemas/OrchestrationStack" }, { "type": "object", @@ -103249,7 +79169,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -103260,44 +79180,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -103338,28 +79230,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -103386,17 +79278,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MetricRollup" + "$ref": "#/components/schemas/MetricRollup" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -103404,34 +79296,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -103472,16 +79343,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -103492,7 +79363,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MetricRollup" + "$ref": "#/components/schemas/MetricRollup" }, { "type": "object", @@ -103506,7 +79377,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -103517,34 +79388,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -103585,28 +79435,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -103633,17 +79483,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/GenericObject" + "$ref": "#/components/schemas/GenericObject" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -103651,34 +79501,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -103691,7 +79520,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -103699,7 +79528,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/GenericObject" + "$ref": "#/components/schemas/GenericObject" } } } @@ -103712,7 +79541,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/GenericObject" + "$ref": "#/components/schemas/GenericObject" }, { "type": "object", @@ -103726,7 +79555,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -103737,44 +79566,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -103815,16 +79616,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -103835,7 +79636,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/GenericObject" + "$ref": "#/components/schemas/GenericObject" }, { "type": "object", @@ -103849,7 +79650,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -103860,34 +79661,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -103900,10 +79680,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -103911,7 +79691,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/GenericObject" + "$ref": "#/components/schemas/GenericObject" } } } @@ -103924,7 +79704,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/GenericObject" + "$ref": "#/components/schemas/GenericObject" }, { "type": "object", @@ -103938,7 +79718,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -103949,44 +79729,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -103999,45 +79751,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -104078,28 +79809,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -104126,17 +79857,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -104144,34 +79875,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -104184,7 +79894,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -104192,7 +79902,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } } } @@ -104205,7 +79915,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" }, { "type": "object", @@ -104219,7 +79929,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -104230,44 +79940,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -104308,16 +79990,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -104328,7 +80010,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" }, { "type": "object", @@ -104342,7 +80024,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -104353,34 +80035,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -104393,10 +80054,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -104404,7 +80065,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } } } @@ -104417,7 +80078,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" }, { "type": "object", @@ -104431,7 +80092,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -104442,44 +80103,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -104492,45 +80125,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -104571,25 +80183,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -104616,17 +80228,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqShortcut" + "$ref": "#/components/schemas/MiqShortcut" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -104634,24 +80246,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -104692,13 +80290,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -104709,7 +80307,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqShortcut" + "$ref": "#/components/schemas/MiqShortcut" }, { "type": "object", @@ -104723,7 +80321,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -104734,34 +80332,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -104802,25 +80379,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -104847,17 +80424,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/StorageResource" + "$ref": "#/components/schemas/StorageResource" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -104865,24 +80442,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -104898,7 +80461,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/StorageResource" + "$ref": "#/components/schemas/StorageResource" } } } @@ -104911,7 +80474,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/StorageResource" + "$ref": "#/components/schemas/StorageResource" }, { "type": "object", @@ -104925,7 +80488,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -104936,44 +80499,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -105014,13 +80549,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -105031,7 +80566,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/StorageResource" + "$ref": "#/components/schemas/StorageResource" }, { "type": "object", @@ -105045,7 +80580,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -105056,34 +80591,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -105096,7 +80610,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -105104,7 +80618,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/StorageResource" + "$ref": "#/components/schemas/StorageResource" } } } @@ -105117,7 +80631,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/StorageResource" + "$ref": "#/components/schemas/StorageResource" }, { "type": "object", @@ -105131,7 +80645,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -105142,44 +80656,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -105220,25 +80706,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -105265,17 +80751,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/StorageService" + "$ref": "#/components/schemas/StorageService" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -105283,24 +80769,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -105316,7 +80788,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/StorageService" + "$ref": "#/components/schemas/StorageService" } } } @@ -105329,7 +80801,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/StorageService" + "$ref": "#/components/schemas/StorageService" }, { "type": "object", @@ -105343,7 +80815,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -105354,44 +80826,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -105432,13 +80876,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -105449,7 +80893,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/StorageService" + "$ref": "#/components/schemas/StorageService" }, { "type": "object", @@ -105463,7 +80907,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -105474,34 +80918,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -105514,7 +80937,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -105522,7 +80945,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/StorageService" + "$ref": "#/components/schemas/StorageService" } } } @@ -105535,7 +80958,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/StorageService" + "$ref": "#/components/schemas/StorageService" }, { "type": "object", @@ -105549,7 +80972,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -105560,44 +80983,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -105610,7 +81005,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -105632,7 +81027,7 @@ ] }, { - "$ref": "/components/schemas/StorageService" + "$ref": "#/components/schemas/StorageService" } ] } @@ -105647,7 +81042,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/StorageService" + "$ref": "#/components/schemas/StorageService" }, { "type": "object", @@ -105661,7 +81056,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -105672,44 +81067,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -105722,7 +81089,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -105730,7 +81097,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/StorageService" + "$ref": "#/components/schemas/StorageService" } } } @@ -105743,7 +81110,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/StorageService" + "$ref": "#/components/schemas/StorageService" }, { "type": "object", @@ -105757,7 +81124,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -105768,44 +81135,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -105818,42 +81157,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -105894,25 +81212,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -105939,17 +81257,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Switch" + "$ref": "#/components/schemas/Switch" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -105957,24 +81275,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -105990,7 +81294,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Switch" + "$ref": "#/components/schemas/Switch" } } } @@ -106003,7 +81307,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Switch" + "$ref": "#/components/schemas/Switch" }, { "type": "object", @@ -106017,7 +81321,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -106028,44 +81332,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -106106,13 +81382,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -106123,7 +81399,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Switch" + "$ref": "#/components/schemas/Switch" }, { "type": "object", @@ -106137,7 +81413,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -106148,34 +81424,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -106188,7 +81443,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -106210,7 +81465,7 @@ ] }, { - "$ref": "/components/schemas/Switch" + "$ref": "#/components/schemas/Switch" } ] } @@ -106225,7 +81480,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Switch" + "$ref": "#/components/schemas/Switch" }, { "type": "object", @@ -106239,7 +81494,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -106250,44 +81505,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -106328,25 +81555,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -106373,17 +81600,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -106391,24 +81618,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -106424,7 +81637,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -106437,7 +81650,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -106451,7 +81664,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -106462,44 +81675,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -106540,13 +81725,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -106557,7 +81742,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -106571,7 +81756,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -106582,34 +81767,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -106622,7 +81786,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -106630,7 +81794,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -106643,7 +81807,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -106657,7 +81821,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -106668,44 +81832,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -106718,42 +81854,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -106794,25 +81909,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -106839,17 +81954,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqTask" + "$ref": "#/components/schemas/MiqTask" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -106857,24 +81972,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -106890,7 +81991,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqTask" + "$ref": "#/components/schemas/MiqTask" } } } @@ -106903,7 +82004,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqTask" + "$ref": "#/components/schemas/MiqTask" }, { "type": "object", @@ -106917,7 +82018,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -106928,44 +82029,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -107006,13 +82079,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -107023,7 +82096,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqTask" + "$ref": "#/components/schemas/MiqTask" }, { "type": "object", @@ -107037,7 +82110,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -107048,34 +82121,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -107088,7 +82140,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -107096,7 +82148,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqTask" + "$ref": "#/components/schemas/MiqTask" } } } @@ -107109,7 +82161,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqTask" + "$ref": "#/components/schemas/MiqTask" }, { "type": "object", @@ -107123,7 +82175,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -107134,44 +82186,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -107184,42 +82208,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -107260,25 +82263,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -107305,17 +82308,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqTemplate" + "$ref": "#/components/schemas/MiqTemplate" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -107323,24 +82326,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -107356,7 +82345,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqTemplate" + "$ref": "#/components/schemas/MiqTemplate" } } } @@ -107369,7 +82358,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqTemplate" + "$ref": "#/components/schemas/MiqTemplate" }, { "type": "object", @@ -107383,7 +82372,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -107394,44 +82383,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -107472,13 +82433,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -107489,7 +82450,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqTemplate" + "$ref": "#/components/schemas/MiqTemplate" }, { "type": "object", @@ -107503,7 +82464,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -107514,34 +82475,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -107554,7 +82494,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -107562,7 +82502,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqTemplate" + "$ref": "#/components/schemas/MiqTemplate" } } } @@ -107575,7 +82515,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqTemplate" + "$ref": "#/components/schemas/MiqTemplate" }, { "type": "object", @@ -107589,7 +82529,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -107600,44 +82540,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -107650,7 +82562,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -107672,7 +82584,7 @@ ] }, { - "$ref": "/components/schemas/MiqTemplate" + "$ref": "#/components/schemas/MiqTemplate" } ] } @@ -107687,7 +82599,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqTemplate" + "$ref": "#/components/schemas/MiqTemplate" }, { "type": "object", @@ -107701,7 +82613,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -107712,44 +82624,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -107762,7 +82646,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -107770,7 +82654,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqTemplate" + "$ref": "#/components/schemas/MiqTemplate" } } } @@ -107783,7 +82667,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqTemplate" + "$ref": "#/components/schemas/MiqTemplate" }, { "type": "object", @@ -107797,7 +82681,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -107808,44 +82692,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -107858,42 +82714,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -107934,28 +82769,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -107982,17 +82817,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -108000,34 +82835,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -108040,7 +82854,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -108048,7 +82862,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -108061,7 +82875,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -108075,7 +82889,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -108086,44 +82900,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -108164,16 +82950,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -108184,7 +82970,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -108198,7 +82984,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -108209,34 +82995,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -108249,10 +83014,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -108260,7 +83025,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -108273,7 +83038,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -108287,7 +83052,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -108298,44 +83063,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -108348,45 +83085,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -108427,28 +83143,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -108475,17 +83191,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -108493,34 +83209,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -108533,7 +83228,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -108541,7 +83236,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } } } @@ -108554,7 +83249,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -108568,7 +83263,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -108579,44 +83274,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -108657,16 +83324,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -108677,7 +83344,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -108691,7 +83358,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -108702,34 +83369,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -108742,10 +83388,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -108753,7 +83399,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } } } @@ -108766,7 +83412,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -108780,7 +83426,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -108791,44 +83437,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -108841,45 +83459,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -108920,28 +83517,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -108968,17 +83565,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -108986,34 +83583,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -109026,7 +83602,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -109034,7 +83610,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -109047,7 +83623,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -109061,7 +83637,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -109072,44 +83648,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -109150,16 +83698,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -109170,7 +83718,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -109184,7 +83732,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -109195,34 +83743,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -109235,10 +83762,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -109246,7 +83773,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -109259,7 +83786,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -109273,7 +83800,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -109284,44 +83811,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -109334,10 +83833,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -109345,7 +83844,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -109358,7 +83857,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -109372,7 +83871,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -109383,44 +83882,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -109433,10 +83904,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -109444,7 +83915,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -109457,7 +83928,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -109471,7 +83942,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -109482,44 +83953,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -109532,45 +83975,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -109611,25 +84033,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -109656,17 +84078,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqGroup" + "$ref": "#/components/schemas/MiqGroup" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -109674,24 +84096,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -109732,13 +84140,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -109749,7 +84157,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqGroup" + "$ref": "#/components/schemas/MiqGroup" }, { "type": "object", @@ -109763,7 +84171,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -109774,34 +84182,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -109842,25 +84229,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -109887,17 +84274,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tenant" + "$ref": "#/components/schemas/Tenant" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -109905,24 +84292,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -109938,7 +84311,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tenant" + "$ref": "#/components/schemas/Tenant" } } } @@ -109951,7 +84324,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tenant" + "$ref": "#/components/schemas/Tenant" }, { "type": "object", @@ -109965,7 +84338,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -109976,44 +84349,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -110054,13 +84399,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -110071,7 +84416,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tenant" + "$ref": "#/components/schemas/Tenant" }, { "type": "object", @@ -110085,7 +84430,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -110096,34 +84441,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -110136,7 +84460,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -110144,7 +84468,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tenant" + "$ref": "#/components/schemas/Tenant" } } } @@ -110157,7 +84481,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tenant" + "$ref": "#/components/schemas/Tenant" }, { "type": "object", @@ -110171,7 +84495,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -110182,44 +84506,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -110232,7 +84528,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -110254,7 +84550,7 @@ ] }, { - "$ref": "/components/schemas/Tenant" + "$ref": "#/components/schemas/Tenant" } ] } @@ -110269,7 +84565,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tenant" + "$ref": "#/components/schemas/Tenant" }, { "type": "object", @@ -110283,7 +84579,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -110294,44 +84590,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -110344,7 +84612,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -110352,7 +84620,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tenant" + "$ref": "#/components/schemas/Tenant" } } } @@ -110365,7 +84633,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tenant" + "$ref": "#/components/schemas/Tenant" }, { "type": "object", @@ -110379,7 +84647,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -110390,44 +84658,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -110440,42 +84680,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -110516,28 +84735,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -110564,17 +84783,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CustomButtonEvent" + "$ref": "#/components/schemas/CustomButtonEvent" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -110582,34 +84801,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -110650,16 +84848,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -110670,7 +84868,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomButtonEvent" + "$ref": "#/components/schemas/CustomButtonEvent" }, { "type": "object", @@ -110684,7 +84882,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -110695,34 +84893,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -110763,28 +84940,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -110811,17 +84988,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -110829,34 +85006,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -110869,7 +85025,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -110877,7 +85033,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -110890,7 +85046,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -110904,7 +85060,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -110915,44 +85071,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -110993,16 +85121,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -111013,7 +85141,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -111027,7 +85155,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -111038,34 +85166,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -111078,10 +85185,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -111089,7 +85196,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -111102,7 +85209,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -111116,7 +85223,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -111127,44 +85234,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -111177,45 +85256,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -111256,28 +85314,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -111304,17 +85362,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/TenantQuota" + "$ref": "#/components/schemas/TenantQuota" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -111322,34 +85380,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -111362,7 +85399,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -111370,7 +85407,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/TenantQuota" + "$ref": "#/components/schemas/TenantQuota" } } } @@ -111383,7 +85420,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/TenantQuota" + "$ref": "#/components/schemas/TenantQuota" }, { "type": "object", @@ -111397,7 +85434,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -111408,44 +85445,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -111486,16 +85495,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -111506,7 +85515,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/TenantQuota" + "$ref": "#/components/schemas/TenantQuota" }, { "type": "object", @@ -111520,7 +85529,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -111531,34 +85540,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -111571,10 +85559,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -111582,7 +85570,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/TenantQuota" + "$ref": "#/components/schemas/TenantQuota" } } } @@ -111595,7 +85583,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/TenantQuota" + "$ref": "#/components/schemas/TenantQuota" }, { "type": "object", @@ -111609,7 +85597,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -111620,44 +85608,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -111670,10 +85630,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -111681,7 +85641,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/TenantQuota" + "$ref": "#/components/schemas/TenantQuota" } } } @@ -111694,7 +85654,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/TenantQuota" + "$ref": "#/components/schemas/TenantQuota" }, { "type": "object", @@ -111708,7 +85668,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -111719,44 +85679,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -111769,10 +85701,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -111780,7 +85712,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/TenantQuota" + "$ref": "#/components/schemas/TenantQuota" } } } @@ -111793,7 +85725,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/TenantQuota" + "$ref": "#/components/schemas/TenantQuota" }, { "type": "object", @@ -111807,7 +85739,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -111818,44 +85750,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -111868,45 +85772,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -111947,25 +85830,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -111992,17 +85875,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/TimeProfile" + "$ref": "#/components/schemas/TimeProfile" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -112010,24 +85893,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -112043,7 +85912,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/TimeProfile" + "$ref": "#/components/schemas/TimeProfile" } } } @@ -112056,7 +85925,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/TimeProfile" + "$ref": "#/components/schemas/TimeProfile" }, { "type": "object", @@ -112070,7 +85939,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -112081,44 +85950,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -112159,13 +86000,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -112176,7 +86017,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/TimeProfile" + "$ref": "#/components/schemas/TimeProfile" }, { "type": "object", @@ -112190,7 +86031,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -112201,34 +86042,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -112241,7 +86061,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -112249,7 +86069,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/TimeProfile" + "$ref": "#/components/schemas/TimeProfile" } } } @@ -112262,7 +86082,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/TimeProfile" + "$ref": "#/components/schemas/TimeProfile" }, { "type": "object", @@ -112276,7 +86096,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -112287,44 +86107,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -112337,7 +86129,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -112345,7 +86137,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/TimeProfile" + "$ref": "#/components/schemas/TimeProfile" } } } @@ -112358,7 +86150,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/TimeProfile" + "$ref": "#/components/schemas/TimeProfile" }, { "type": "object", @@ -112372,7 +86164,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -112383,44 +86175,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -112433,7 +86197,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -112441,7 +86205,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/TimeProfile" + "$ref": "#/components/schemas/TimeProfile" } } } @@ -112454,7 +86218,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/TimeProfile" + "$ref": "#/components/schemas/TimeProfile" }, { "type": "object", @@ -112468,7 +86232,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -112479,44 +86243,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -112529,42 +86265,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -112605,25 +86320,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -112650,17 +86365,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/User" + "$ref": "#/components/schemas/User" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -112668,24 +86383,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -112701,7 +86402,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/User" + "$ref": "#/components/schemas/User" } } } @@ -112714,7 +86415,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/User" + "$ref": "#/components/schemas/User" }, { "type": "object", @@ -112728,7 +86429,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -112739,44 +86440,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -112817,13 +86490,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -112834,7 +86507,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/User" + "$ref": "#/components/schemas/User" }, { "type": "object", @@ -112848,7 +86521,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -112859,34 +86532,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -112899,7 +86551,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -112907,7 +86559,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/User" + "$ref": "#/components/schemas/User" } } } @@ -112920,7 +86572,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/User" + "$ref": "#/components/schemas/User" }, { "type": "object", @@ -112934,7 +86586,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -112945,44 +86597,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -112995,7 +86619,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -113017,7 +86641,7 @@ ] }, { - "$ref": "/components/schemas/User" + "$ref": "#/components/schemas/User" } ] } @@ -113032,7 +86656,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/User" + "$ref": "#/components/schemas/User" }, { "type": "object", @@ -113046,7 +86670,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -113057,44 +86681,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -113107,7 +86703,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -113115,7 +86711,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/User" + "$ref": "#/components/schemas/User" } } } @@ -113128,7 +86724,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/User" + "$ref": "#/components/schemas/User" }, { "type": "object", @@ -113142,7 +86738,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -113153,44 +86749,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -113203,42 +86771,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -113279,28 +86826,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -113327,17 +86874,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CustomButtonEvent" + "$ref": "#/components/schemas/CustomButtonEvent" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -113345,34 +86892,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -113413,16 +86939,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -113433,7 +86959,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomButtonEvent" + "$ref": "#/components/schemas/CustomButtonEvent" }, { "type": "object", @@ -113447,7 +86973,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -113458,34 +86984,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -113526,28 +87031,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -113574,17 +87079,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -113592,34 +87097,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -113632,7 +87116,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -113640,7 +87124,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -113653,7 +87137,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -113667,7 +87151,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -113678,44 +87162,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -113756,107 +87212,18 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" - }, - { - "$ref": "/components/parameters/subResourceId" - }, - { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/attributes" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/parameters/subResourceId" }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Update a Tag", - "description": "Updates an existing Tag", - "operationId": "update_user_tag", - "tags": [ - "Users" - ], - "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/attributes" } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Tag" - } - } - } - }, "responses": { "200": { "description": "Success", @@ -113865,7 +87232,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -113879,7 +87246,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -113890,44 +87257,84 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Update a Tag", + "description": "Updates an existing Tag", + "operationId": "update_user_tag", + "tags": [ + "Users" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Tag" } } - }, - "422": { - "description": "Unprocessable Entity", + } + }, + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/ValidationError" + "allOf": [ + { + "$ref": "#/components/schemas/Tag" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -113940,45 +87347,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -114019,25 +87405,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -114064,17 +87450,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Vm" + "$ref": "#/components/schemas/Vm" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -114082,24 +87468,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -114115,7 +87487,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Vm" + "$ref": "#/components/schemas/Vm" } } } @@ -114128,7 +87500,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Vm" + "$ref": "#/components/schemas/Vm" }, { "type": "object", @@ -114142,7 +87514,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -114153,44 +87525,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -114231,13 +87575,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -114248,7 +87592,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Vm" + "$ref": "#/components/schemas/Vm" }, { "type": "object", @@ -114262,7 +87606,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -114273,34 +87617,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -114313,7 +87636,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -114335,7 +87658,7 @@ ] }, { - "$ref": "/components/schemas/Vm" + "$ref": "#/components/schemas/Vm" } ] } @@ -114350,7 +87673,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Vm" + "$ref": "#/components/schemas/Vm" }, { "type": "object", @@ -114364,7 +87687,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -114375,44 +87698,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -114425,42 +87720,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -114501,28 +87775,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -114549,17 +87823,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Disk" + "$ref": "#/components/schemas/Disk" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -114567,34 +87841,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -114635,16 +87888,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -114655,7 +87908,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Disk" + "$ref": "#/components/schemas/Disk" }, { "type": "object", @@ -114669,7 +87922,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -114680,34 +87933,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -114748,28 +87980,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -114796,17 +88028,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Disk" + "$ref": "#/components/schemas/Disk" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -114814,34 +88046,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -114882,16 +88093,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -114902,7 +88113,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Disk" + "$ref": "#/components/schemas/Disk" }, { "type": "object", @@ -114916,7 +88127,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -114927,34 +88138,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -114995,28 +88185,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -115043,17 +88233,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -115061,34 +88251,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -115101,7 +88270,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -115109,7 +88278,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -115122,7 +88291,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -115136,7 +88305,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -115147,44 +88316,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -115225,16 +88366,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -115245,7 +88386,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -115259,7 +88400,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -115270,34 +88411,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -115310,10 +88430,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -115321,7 +88441,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" } } } @@ -115334,7 +88454,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Tag" + "$ref": "#/components/schemas/Tag" }, { "type": "object", @@ -115348,7 +88468,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -115359,44 +88479,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -115409,45 +88501,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -115488,28 +88559,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -115536,17 +88607,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -115554,34 +88625,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -115594,7 +88644,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -115602,7 +88652,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } } } @@ -115615,7 +88665,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -115629,7 +88679,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -115640,44 +88690,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -115718,16 +88740,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -115738,7 +88760,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -115752,7 +88774,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -115763,34 +88785,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -115803,10 +88804,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -115814,7 +88815,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" } } } @@ -115827,7 +88828,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicy" + "$ref": "#/components/schemas/MiqPolicy" }, { "type": "object", @@ -115841,7 +88842,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -115852,44 +88853,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -115902,45 +88875,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -115981,28 +88933,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -116029,17 +88981,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -116047,34 +88999,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -116087,7 +89018,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -116095,7 +89026,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -116108,7 +89039,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -116122,7 +89053,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -116133,44 +89064,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -116211,16 +89114,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -116231,7 +89134,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -116245,7 +89148,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -116256,34 +89159,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -116296,10 +89178,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -116307,7 +89189,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -116320,7 +89202,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -116334,7 +89216,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -116345,44 +89227,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -116395,10 +89249,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -116406,7 +89260,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -116419,7 +89273,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -116433,7 +89287,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -116444,44 +89298,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -116494,10 +89320,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -116505,7 +89331,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" } } } @@ -116518,7 +89344,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqPolicySet" + "$ref": "#/components/schemas/MiqPolicySet" }, { "type": "object", @@ -116532,7 +89358,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -116543,44 +89369,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -116593,45 +89391,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -116672,28 +89449,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -116720,17 +89497,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Account" + "$ref": "#/components/schemas/Account" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -116738,34 +89515,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -116806,16 +89562,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -116826,7 +89582,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Account" + "$ref": "#/components/schemas/Account" }, { "type": "object", @@ -116840,7 +89596,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -116851,34 +89607,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -116919,28 +89654,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -116967,17 +89702,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Compliance" + "$ref": "#/components/schemas/Compliance" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -116985,34 +89720,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -117053,16 +89767,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -117073,7 +89787,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Compliance" + "$ref": "#/components/schemas/Compliance" }, { "type": "object", @@ -117087,7 +89801,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -117098,34 +89812,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -117166,28 +89859,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -117214,17 +89907,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -117232,34 +89925,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -117272,7 +89944,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -117280,7 +89952,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } } } @@ -117293,7 +89965,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" }, { "type": "object", @@ -117307,7 +89979,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -117318,44 +89990,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -117396,16 +90040,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -117416,7 +90060,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" }, { "type": "object", @@ -117430,7 +90074,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -117441,34 +90085,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -117481,10 +90104,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -117492,7 +90115,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" } } } @@ -117505,7 +90128,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/CustomAttribute" + "$ref": "#/components/schemas/CustomAttribute" }, { "type": "object", @@ -117519,7 +90142,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -117530,44 +90153,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -117580,45 +90175,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -117659,28 +90233,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -117707,17 +90281,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -117725,34 +90299,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -117765,7 +90318,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -117773,7 +90326,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" } } } @@ -117786,7 +90339,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" }, { "type": "object", @@ -117800,7 +90353,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -117811,44 +90364,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -117889,16 +90414,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -117909,7 +90434,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" }, { "type": "object", @@ -117923,7 +90448,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -117934,34 +90459,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -117974,10 +90478,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -117985,7 +90489,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" } } } @@ -117998,7 +90502,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/SecurityGroup" + "$ref": "#/components/schemas/SecurityGroup" }, { "type": "object", @@ -118012,7 +90516,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -118023,44 +90527,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -118101,28 +90577,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -118149,17 +90625,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/GuestApplication" + "$ref": "#/components/schemas/GuestApplication" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -118167,34 +90643,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -118235,16 +90690,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -118255,7 +90710,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/GuestApplication" + "$ref": "#/components/schemas/GuestApplication" }, { "type": "object", @@ -118269,7 +90724,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -118280,34 +90735,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -118348,28 +90782,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -118396,17 +90830,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Snapshot" + "$ref": "#/components/schemas/Snapshot" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -118414,34 +90848,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -118454,7 +90867,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -118462,7 +90875,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Snapshot" + "$ref": "#/components/schemas/Snapshot" } } } @@ -118475,7 +90888,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Snapshot" + "$ref": "#/components/schemas/Snapshot" }, { "type": "object", @@ -118489,7 +90902,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -118500,44 +90913,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -118578,16 +90963,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -118598,7 +90983,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Snapshot" + "$ref": "#/components/schemas/Snapshot" }, { "type": "object", @@ -118612,7 +90997,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -118623,34 +91008,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -118663,10 +91027,10 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -118674,7 +91038,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Snapshot" + "$ref": "#/components/schemas/Snapshot" } } } @@ -118687,7 +91051,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Snapshot" + "$ref": "#/components/schemas/Snapshot" }, { "type": "object", @@ -118701,7 +91065,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -118712,44 +91076,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -118762,45 +91098,24 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -118841,28 +91156,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -118889,17 +91204,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/Metric" + "$ref": "#/components/schemas/Metric" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -118907,34 +91222,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -118975,16 +91269,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -118995,7 +91289,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Metric" + "$ref": "#/components/schemas/Metric" }, { "type": "object", @@ -119009,7 +91303,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -119020,34 +91314,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -119088,28 +91361,28 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -119136,17 +91409,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MetricRollup" + "$ref": "#/components/schemas/MetricRollup" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -119154,34 +91427,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -119222,16 +91474,16 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/subResourceId" + "$ref": "#/components/parameters/subResourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -119242,7 +91494,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MetricRollup" + "$ref": "#/components/schemas/MetricRollup" }, { "type": "object", @@ -119256,7 +91508,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -119267,34 +91519,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -119335,25 +91566,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -119380,17 +91611,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/VolumeMapping" + "$ref": "#/components/schemas/VolumeMapping" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -119398,24 +91629,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -119431,7 +91648,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/VolumeMapping" + "$ref": "#/components/schemas/VolumeMapping" } } } @@ -119444,7 +91661,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/VolumeMapping" + "$ref": "#/components/schemas/VolumeMapping" }, { "type": "object", @@ -119458,7 +91675,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -119469,44 +91686,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -119547,13 +91736,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -119564,7 +91753,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/VolumeMapping" + "$ref": "#/components/schemas/VolumeMapping" }, { "type": "object", @@ -119578,7 +91767,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -119589,34 +91778,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -119629,7 +91797,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -119637,7 +91805,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/VolumeMapping" + "$ref": "#/components/schemas/VolumeMapping" } } } @@ -119650,7 +91818,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/VolumeMapping" + "$ref": "#/components/schemas/VolumeMapping" }, { "type": "object", @@ -119664,7 +91832,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -119675,44 +91843,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -119725,42 +91865,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -119801,25 +91920,25 @@ ], "parameters": [ { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/filter" + "$ref": "#/components/parameters/filter" }, { - "$ref": "/components/parameters/sortBy" + "$ref": "#/components/parameters/sortBy" }, { - "$ref": "/components/parameters/sortOrder" + "$ref": "#/components/parameters/sortOrder" }, { - "$ref": "/components/parameters/offset" + "$ref": "#/components/parameters/offset" }, { - "$ref": "/components/parameters/limit" + "$ref": "#/components/parameters/limit" } ], "responses": { @@ -119846,17 +91965,17 @@ "resources": { "type": "array", "items": { - "$ref": "/components/schemas/MiqWidget" + "$ref": "#/components/schemas/MiqWidget" } }, "actions": { "type": "array", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } }, "links": { - "$ref": "/components/schemas/CollectionLinks" + "$ref": "#/components/schemas/CollectionLinks" } } } @@ -119864,24 +91983,10 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -119897,7 +92002,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqWidget" + "$ref": "#/components/schemas/MiqWidget" } } } @@ -119910,7 +92015,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqWidget" + "$ref": "#/components/schemas/MiqWidget" }, { "type": "object", @@ -119924,7 +92029,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -119935,44 +92040,16 @@ } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/BadRequest" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -120013,13 +92090,13 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/attributes" } ], "responses": { @@ -120030,7 +92107,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqWidget" + "$ref": "#/components/schemas/MiqWidget" }, { "type": "object", @@ -120044,7 +92121,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -120055,34 +92132,13 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -120095,7 +92151,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -120103,7 +92159,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/MiqWidget" + "$ref": "#/components/schemas/MiqWidget" } } } @@ -120116,7 +92172,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/MiqWidget" + "$ref": "#/components/schemas/MiqWidget" }, { "type": "object", @@ -120130,7 +92186,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -120141,44 +92197,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -120209,246 +92237,112 @@ } } }, - "/api/{version}/zones": { - "get": { - "summary": "List Zones", - "description": "Returns a paginated list of Zones", - "operationId": "list_zones", - "tags": [ - "Zones" - ], - "parameters": [ - { - "$ref": "/components/parameters/expand" - }, - { - "$ref": "/components/parameters/attributes" - }, - { - "$ref": "/components/parameters/filter" - }, - { - "$ref": "/components/parameters/sortBy" - }, - { - "$ref": "/components/parameters/sortOrder" - }, - { - "$ref": "/components/parameters/offset" - }, - { - "$ref": "/components/parameters/limit" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "zones" - }, - "count": { - "type": "integer" - }, - "subcount": { - "type": "integer" - }, - "pages": { - "type": "integer" - }, - "resources": { - "type": "array", - "items": { - "$ref": "/components/schemas/Zone" - } - }, - "actions": { - "type": "array", - "items": { - "$ref": "/components/schemas/Action" - } - }, - "links": { - "$ref": "/components/schemas/CollectionLinks" - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "post": { - "summary": "Create a Zone", - "description": "Creates a new Zone", - "operationId": "create_zone", - "tags": [ - "Zones" - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Zone" - } - } - } - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "/components/schemas/Zone" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } - } - } - }, - "options": { - "summary": "Get options for Zones", - "description": "Returns available HTTP methods and actions", - "operationId": "options_zones", - "tags": [ - "Zones" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/zones/{c_id}": { + "/api/{version}/zones": { "get": { - "summary": "Get a Zone", - "description": "Returns a single Zone by ID", - "operationId": "get_zone", + "summary": "List Zones", + "description": "Returns a paginated list of Zones", + "operationId": "list_zones", "tags": [ "Zones" ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/expand" }, { - "$ref": "/components/parameters/expand" + "$ref": "#/components/parameters/attributes" }, { - "$ref": "/components/parameters/attributes" + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/sortBy" + }, + { + "$ref": "#/components/parameters/sortOrder" + }, + { + "$ref": "#/components/parameters/offset" + }, + { + "$ref": "#/components/parameters/limit" } ], "responses": { "200": { "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "zones" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Zone" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Action" + } + }, + "links": { + "$ref": "#/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Create a Zone", + "description": "Creates a new Zone", + "operationId": "create_zone", + "tags": [ + "Zones" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Zone" + } + } + } + }, + "responses": { + "201": { + "description": "Created", "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "/components/schemas/Zone" + "$ref": "#/components/schemas/Zone" }, { "type": "object", @@ -120462,7 +92356,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -120472,35 +92366,106 @@ } } }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "400": { + "$ref": "#/components/responses/BadRequest" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Zones", + "description": "Returns available HTTP methods and actions", + "operationId": "options_zones", + "tags": [ + "Zones" + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } } } } + } + } + } + }, + "/api/{version}/zones/{c_id}": { + "get": { + "summary": "Get a Zone", + "description": "Returns a single Zone by ID", + "operationId": "get_zone", + "tags": [ + "Zones" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" }, - "403": { - "description": "Forbidden", + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Error" + "allOf": [ + { + "$ref": "#/components/schemas/Zone" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } }, @@ -120513,7 +92478,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -120521,7 +92486,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Zone" + "$ref": "#/components/schemas/Zone" } } } @@ -120534,7 +92499,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Zone" + "$ref": "#/components/schemas/Zone" }, { "type": "object", @@ -120548,7 +92513,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -120559,44 +92524,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -120609,7 +92546,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -120617,7 +92554,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Zone" + "$ref": "#/components/schemas/Zone" } } } @@ -120630,7 +92567,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Zone" + "$ref": "#/components/schemas/Zone" }, { "type": "object", @@ -120644,7 +92581,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -120655,44 +92592,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -120705,7 +92614,7 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "requestBody": { @@ -120713,7 +92622,7 @@ "content": { "application/json": { "schema": { - "$ref": "/components/schemas/Zone" + "$ref": "#/components/schemas/Zone" } } } @@ -120726,7 +92635,7 @@ "schema": { "allOf": [ { - "$ref": "/components/schemas/Zone" + "$ref": "#/components/schemas/Zone" }, { "type": "object", @@ -120740,7 +92649,7 @@ "type": "array", "description": "Available actions for this resource", "items": { - "$ref": "/components/schemas/Action" + "$ref": "#/components/schemas/Action" } } } @@ -120751,44 +92660,16 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/ValidationError" - } - } - } + "$ref": "#/components/responses/UnprocessableEntity" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -120801,42 +92682,21 @@ ], "parameters": [ { - "$ref": "/components/parameters/resourceId" + "$ref": "#/components/parameters/resourceId" } ], "responses": { "204": { - "description": "No Content" + "$ref": "#/components/responses/NoContent" }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/NotFound" }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Unauthorized" }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "/components/schemas/Error" - } - } - } + "$ref": "#/components/responses/Forbidden" } } }, @@ -130587,6 +102447,61 @@ ] } }, + "responses": { + "Unauthorized": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "Forbidden": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "NotFound": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "BadRequest": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "UnprocessableEntity": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationError" + } + } + } + }, + "NoContent": { + "description": "No Content" + } + }, "securitySchemes": { "basicAuth": { "type": "http", diff --git a/lib/manageiq/api/open_api/generator.rb b/lib/manageiq/api/open_api/generator.rb index 9ad940b812..af410899fe 100644 --- a/lib/manageiq/api/open_api/generator.rb +++ b/lib/manageiq/api/open_api/generator.rb @@ -9,8 +9,8 @@ module Api module OpenApi class Generator OPENAPI_VERSION = "3.0.0".freeze - PARAMETERS_PATH = "/components/parameters".freeze - SCHEMAS_PATH = "/components/schemas".freeze + PARAMETERS_PATH = "#/components/parameters".freeze + SCHEMAS_PATH = "#/components/schemas".freeze attr_reader :manageiq_api_path, :openapi_path, :openapi_spec @@ -25,6 +25,7 @@ def initialize def generate! openapi_spec["components"]["parameters"] = ParameterBuilder.build_common_parameters openapi_spec["components"]["schemas"] = build_schemas.merge(SchemaBuilder.build_common_schemas) + openapi_spec["components"]["responses"] = SchemaBuilder.build_common_responses openapi_spec["components"]["securitySchemes"] = build_security_schemes openapi_spec["paths"] = PathBuilder.build_paths(::Api::ApiConfig.collections) openapi_spec["security"] = build_security_requirements @@ -84,7 +85,7 @@ def build_schema_properties_value(model, key, value) properties_value["format"] = "date-time" when :integer if key == model.primary_key || key.ends_with?("_id") - properties_value["$ref"] = "##{SCHEMAS_PATH}/ID" + properties_value["$ref"] = "#{SCHEMAS_PATH}/ID" else properties_value["type"] = "integer" end diff --git a/lib/manageiq/api/open_api/operation_builder.rb b/lib/manageiq/api/open_api/operation_builder.rb index 7b05cb28f9..7b7b879e1d 100644 --- a/lib/manageiq/api/open_api/operation_builder.rb +++ b/lib/manageiq/api/open_api/operation_builder.rb @@ -2,8 +2,8 @@ module ManageIQ module Api module OpenApi module OperationBuilder - SCHEMAS_PATH = "/components/schemas".freeze - PARAMETERS_PATH = "/components/parameters".freeze + SCHEMAS_PATH = "#/components/schemas".freeze + PARAMETERS_PATH = "#/components/parameters".freeze def self.build_collection_index_operation(collection_name, collection, model_schema_name) { @@ -33,7 +33,7 @@ def self.build_resource_show_operation(collection_name, collection, model_schema "tags" => [collection[:description] || collection_name.to_s.titleize], "parameters" => [ { - "$ref" => File.join(PARAMETERS_PATH, "resourceId") + "$ref" => "#{PARAMETERS_PATH}/resourceId" } ] + ParameterBuilder.resource_query_parameters, "responses" => { @@ -61,7 +61,7 @@ def self.build_create_operation(collection_name, collection, model_schema_name) "content" => { "application/json" => { "schema" => { - "$ref" => File.join(SCHEMAS_PATH, model_schema_name) + "$ref" => "#{SCHEMAS_PATH}/#{model_schema_name}" } } } @@ -88,14 +88,14 @@ def self.build_update_operation(collection_name, collection, model_schema_name) "operationId" => "update_#{collection_name.to_s.singularize}", "tags" => [collection[:description] || collection_name.to_s.titleize], "parameters" => [ - {"$ref" => File.join(PARAMETERS_PATH, "resourceId")} + {"$ref" => "#{PARAMETERS_PATH}/resourceId"} ], "requestBody" => { "required" => true, "content" => { "application/json" => { "schema" => { - "$ref" => File.join(SCHEMAS_PATH, model_schema_name) + "$ref" => "#{SCHEMAS_PATH}/#{model_schema_name}" } } } @@ -122,7 +122,7 @@ def self.build_delete_operation(collection_name, collection) "operationId" => "delete_#{collection_name.to_s.singularize}", "tags" => [collection[:description] || collection_name.to_s.titleize], "parameters" => [ - {"$ref" => File.join(PARAMETERS_PATH, "resourceId")} + {"$ref" => "#{PARAMETERS_PATH}/resourceId"} ], "responses" => { "204" => SchemaBuilder.build_standard_responses["204"], @@ -167,7 +167,7 @@ def self.build_bulk_action_operation(collection_name, collection, model_schema_n "required" => ["action"] }, { - "$ref" => File.join(SCHEMAS_PATH, model_schema_name) + "$ref" => "#{SCHEMAS_PATH}/#{model_schema_name}" } ] } @@ -185,7 +185,7 @@ def self.build_bulk_action_operation(collection_name, collection, model_schema_n "results" => { "type" => "array", "items" => { - "$ref" => File.join(SCHEMAS_PATH, model_schema_name) + "$ref" => "#{SCHEMAS_PATH}/#{model_schema_name}" } } } @@ -206,7 +206,7 @@ def self.build_resource_action_operation(collection_name, collection, model_sche "operationId" => "action_#{collection_name.to_s.singularize}", "tags" => [collection[:description] || collection_name.to_s.titleize], "parameters" => [ - {"$ref" => File.join(PARAMETERS_PATH, "resourceId")} + {"$ref" => "#{PARAMETERS_PATH}/resourceId"} ], "requestBody" => { "required" => true, @@ -225,7 +225,7 @@ def self.build_resource_action_operation(collection_name, collection, model_sche "required" => ["action"] }, { - "$ref" => File.join(SCHEMAS_PATH, model_schema_name) + "$ref" => "#{SCHEMAS_PATH}/#{model_schema_name}" } ] } diff --git a/lib/manageiq/api/open_api/parameter_builder.rb b/lib/manageiq/api/open_api/parameter_builder.rb index f8e70d6a3d..cfb621829d 100644 --- a/lib/manageiq/api/open_api/parameter_builder.rb +++ b/lib/manageiq/api/open_api/parameter_builder.rb @@ -2,7 +2,7 @@ module ManageIQ module Api module OpenApi module ParameterBuilder - PARAMETERS_PATH = "/components/parameters".freeze + PARAMETERS_PATH = "#/components/parameters".freeze def self.build_common_parameters { diff --git a/lib/manageiq/api/open_api/path_builder.rb b/lib/manageiq/api/open_api/path_builder.rb index 80476122a7..283a81b048 100644 --- a/lib/manageiq/api/open_api/path_builder.rb +++ b/lib/manageiq/api/open_api/path_builder.rb @@ -2,7 +2,7 @@ module ManageIQ module Api module OpenApi module PathBuilder - PARAMETERS_PATH = "/components/parameters".freeze + PARAMETERS_PATH = "#/components/parameters".freeze def self.build_paths(collections) paths = {} diff --git a/lib/manageiq/api/open_api/schema_builder.rb b/lib/manageiq/api/open_api/schema_builder.rb index 222c33e630..72484bb109 100644 --- a/lib/manageiq/api/open_api/schema_builder.rb +++ b/lib/manageiq/api/open_api/schema_builder.rb @@ -2,7 +2,7 @@ module ManageIQ module Api module OpenApi module SchemaBuilder - SCHEMAS_PATH = "/components/schemas".freeze + SCHEMAS_PATH = "#/components/schemas".freeze def self.build_common_schemas { @@ -195,19 +195,10 @@ def self.build_resource_response_schema(model_schema_name) } end - def self.build_standard_responses + def self.build_common_responses { - "200" => { - "description" => "Success" - }, - "201" => { - "description" => "Created" - }, - "204" => { - "description" => "No Content" - }, - "400" => { - "description" => "Bad Request", + "Unauthorized" => { + "description" => "Unauthorized", "content" => { "application/json" => { "schema" => { @@ -216,8 +207,8 @@ def self.build_standard_responses } } }, - "401" => { - "description" => "Unauthorized", + "Forbidden" => { + "description" => "Forbidden", "content" => { "application/json" => { "schema" => { @@ -226,8 +217,8 @@ def self.build_standard_responses } } }, - "403" => { - "description" => "Forbidden", + "NotFound" => { + "description" => "Not Found", "content" => { "application/json" => { "schema" => { @@ -236,8 +227,8 @@ def self.build_standard_responses } } }, - "404" => { - "description" => "Not Found", + "BadRequest" => { + "description" => "Bad Request", "content" => { "application/json" => { "schema" => { @@ -246,7 +237,7 @@ def self.build_standard_responses } } }, - "422" => { + "UnprocessableEntity" => { "description" => "Unprocessable Entity", "content" => { "application/json" => { @@ -256,15 +247,37 @@ def self.build_standard_responses } } }, - "500" => { - "description" => "Internal Server Error", - "content" => { - "application/json" => { - "schema" => { - "$ref" => "#{SCHEMAS_PATH}/Error" - } - } - } + "NoContent" => { + "description" => "No Content" + } + } + end + + def self.build_standard_responses + { + "200" => { + "description" => "Success" + }, + "201" => { + "description" => "Created" + }, + "204" => { + "$ref" => "#/components/responses/NoContent" + }, + "400" => { + "$ref" => "#/components/responses/BadRequest" + }, + "401" => { + "$ref" => "#/components/responses/Unauthorized" + }, + "403" => { + "$ref" => "#/components/responses/Forbidden" + }, + "404" => { + "$ref" => "#/components/responses/NotFound" + }, + "422" => { + "$ref" => "#/components/responses/UnprocessableEntity" } } end From 8385f1ddede11b25546a429134288c0ae64e0177 Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Tue, 19 May 2026 11:45:52 -0400 Subject: [PATCH 5/5] Drop 201/204 HTTP responses --- config/openapi.json | 9947 +++-------------- .../api/open_api/operation_builder.rb | 9 - lib/manageiq/api/open_api/path_builder.rb | 14 +- lib/manageiq/api/open_api/schema_builder.rb | 6 - 4 files changed, 1468 insertions(+), 8508 deletions(-) diff --git a/config/openapi.json b/config/openapi.json index 1f576bde1f..f6073bf93b 100644 --- a/config/openapi.json +++ b/config/openapi.json @@ -104,37 +104,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqAction" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -455,9 +424,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -594,37 +560,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqAlertSet" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -945,9 +880,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -1095,37 +1027,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqAlert" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -1319,9 +1220,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -1458,37 +1356,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqAlert" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -1673,9 +1540,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -2019,37 +1883,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqAlertStatusAction" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -2352,37 +2185,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_AuthKeyPair" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -2703,9 +2505,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -2842,37 +2641,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Authentication" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -3193,9 +2961,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -3528,37 +3293,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqAeClass" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -3743,9 +3477,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -3882,37 +3613,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqAeDomain" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -4233,9 +3933,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -4372,37 +4069,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/AutomateWorkspace" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -4699,37 +4365,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/AutomationRequest" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -5037,37 +4672,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqRequestTask" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -5370,37 +4974,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/AvailabilityZone" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -5724,37 +5297,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -5948,9 +5490,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -6087,37 +5626,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Category" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -6302,9 +5810,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -6452,37 +5957,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -6676,9 +6150,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -7011,37 +6482,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ChargebackRate" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -7362,9 +6802,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -7512,37 +6949,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ChargebackRateDetail" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -7878,9 +7284,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -8213,37 +7616,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CloudDatabase" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -8564,9 +7936,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -8703,8 +8072,69 @@ } }, "responses": { - "201": { - "description": "Created", + "400": { + "$ref": "#/components/responses/BadRequest" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Cloud Networks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_networks", + "tags": [ + "Cloud Networks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_networks/{c_id}": { + "get": { + "summary": "Get a Cloud Network", + "description": "Returns a single Cloud Network by ID", + "operationId": "get_cloud_network", + "tags": [ + "Cloud Networks" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { @@ -8734,11 +8164,8 @@ } } }, - "400": { - "$ref": "#/components/responses/BadRequest" - }, - "422": { - "$ref": "#/components/responses/UnprocessableEntity" + "404": { + "$ref": "#/components/responses/NotFound" }, "401": { "$ref": "#/components/responses/Unauthorized" @@ -8748,269 +8175,180 @@ } } }, - "options": { - "summary": "Get options for Cloud Networks", - "description": "Returns available HTTP methods and actions", - "operationId": "options_cloud_networks", + "put": { + "summary": "Update a Cloud Network", + "description": "Updates an existing Cloud Network", + "operationId": "update_cloud_network", "tags": [ "Cloud Networks" ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CloudNetwork" + } + } + } + }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "data": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudNetwork" + }, + { "type": "object", - "additionalProperties": true + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } } - } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } - } - }, - "/api/{version}/cloud_networks/{c_id}": { - "get": { - "summary": "Get a Cloud Network", - "description": "Returns a single Cloud Network by ID", - "operationId": "get_cloud_network", + }, + "post": { + "summary": "Perform action on a Cloud Network", + "description": "Executes a custom action on a specific Cloud Network", + "operationId": "action_cloud_network", "tags": [ "Cloud Networks" ], "parameters": [ { "$ref": "#/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "#/components/schemas/CloudNetwork" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudNetwork" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] + } + } + } }, - { - "$ref": "#/components/parameters/expand" + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "patch": { + "summary": "Update a Cloud Network", + "description": "Updates an existing Cloud Network", + "operationId": "update_cloud_network", + "tags": [ + "Cloud Networks" + ], + "parameters": [ { - "$ref": "#/components/parameters/attributes" + "$ref": "#/components/parameters/resourceId" } ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CloudNetwork" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "$ref": "#/components/responses/NotFound" - }, - "401": { - "$ref": "#/components/responses/Unauthorized" - }, - "403": { - "$ref": "#/components/responses/Forbidden" - } - } - }, - "put": { - "summary": "Update a Cloud Network", - "description": "Updates an existing Cloud Network", - "operationId": "update_cloud_network", - "tags": [ - "Cloud Networks" - ], - "parameters": [ - { - "$ref": "#/components/parameters/resourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CloudNetwork" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CloudNetwork" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "$ref": "#/components/responses/NotFound" - }, - "422": { - "$ref": "#/components/responses/UnprocessableEntity" - }, - "401": { - "$ref": "#/components/responses/Unauthorized" - }, - "403": { - "$ref": "#/components/responses/Forbidden" - } - } - }, - "post": { - "summary": "Perform action on a Cloud Network", - "description": "Executes a custom action on a specific Cloud Network", - "operationId": "action_cloud_network", - "tags": [ - "Cloud Networks" - ], - "parameters": [ - { - "$ref": "#/components/parameters/resourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "action": { - "type": "string", - "description": "Action to perform" - } - }, - "required": [ - "action" - ] - }, - { - "$ref": "#/components/schemas/CloudNetwork" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CloudNetwork" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "$ref": "#/components/responses/NotFound" - }, - "422": { - "$ref": "#/components/responses/UnprocessableEntity" - }, - "401": { - "$ref": "#/components/responses/Unauthorized" - }, - "403": { - "$ref": "#/components/responses/Forbidden" - } - } - }, - "patch": { - "summary": "Update a Cloud Network", - "description": "Updates an existing Cloud Network", - "operationId": "update_cloud_network", - "tags": [ - "Cloud Networks" - ], - "parameters": [ - { - "$ref": "#/components/parameters/resourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CloudNetwork" - } - } - } - }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CloudNetwork" + } + } + } + }, "responses": { "200": { "description": "Success", @@ -9070,9 +8408,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -9220,37 +8555,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -9444,9 +8748,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -9583,37 +8884,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CloudObjectStoreContainer" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -9926,37 +9196,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CloudObjectStoreObject" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -10253,37 +9492,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CloudSubnet" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -10620,9 +9828,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -10770,37 +9975,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -10994,9 +10168,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -11133,37 +10304,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -11484,9 +10624,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -11623,37 +10760,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CloudTenant" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -11990,9 +11096,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -12140,37 +11243,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/NetworkService" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -12364,9 +11436,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -12514,37 +11583,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/SecurityGroup" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -12858,37 +11896,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/SecurityPolicy" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -13082,9 +12089,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -13232,37 +12236,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -13456,9 +12429,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -13595,37 +12565,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CloudVolumeSnapshot" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -13946,9 +12885,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -14281,37 +13217,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CloudVolume" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -14648,9 +13553,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -14798,37 +13700,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -15022,9 +13893,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -15172,8 +14040,72 @@ } }, "responses": { - "201": { - "description": "Created", + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Cloud Volume Snapshots", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_volume_snapshots", + "tags": [ + "Cloud Volume Snapshots" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/cloud_volumes/{c_id}/cloud_volume_snapshots/{s_id}": { + "get": { + "summary": "Get a Cloud Volume Snapshot", + "description": "Returns a single Cloud Volume Snapshot by ID", + "operationId": "get_cloud_volume_cloud_volume_snapshot", + "tags": [ + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/subResourceId" + }, + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { @@ -15206,9 +14138,6 @@ "404": { "$ref": "#/components/responses/NotFound" }, - "422": { - "$ref": "#/components/responses/UnprocessableEntity" - }, "401": { "$ref": "#/components/responses/Unauthorized" }, @@ -15217,38 +14146,81 @@ } } }, - "options": { - "summary": "Get options for Cloud Volume Snapshots", - "description": "Returns available HTTP methods and actions", - "operationId": "options_cloud_volume_snapshots", + "put": { + "summary": "Update a Cloud Volume Snapshot", + "description": "Updates an existing Cloud Volume Snapshot", + "operationId": "put_cloud_volume_cloud_volume_snapshot", "tags": [ - "Cloud Volume Snapshots" + "Cloud Volumes" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/subResourceId" + } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CloudVolumeSnapshot" + } + } + } + }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "data": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudVolumeSnapshot" + }, + { "type": "object", - "additionalProperties": true + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } } - } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } - } - }, - "/api/{version}/cloud_volumes/{c_id}/cloud_volume_snapshots/{s_id}": { - "get": { - "summary": "Get a Cloud Volume Snapshot", - "description": "Returns a single Cloud Volume Snapshot by ID", - "operationId": "get_cloud_volume_cloud_volume_snapshot", + }, + "post": { + "summary": "Update a Cloud Volume Snapshot", + "description": "Updates an existing Cloud Volume Snapshot", + "operationId": "update_cloud_volume_cloud_volume_snapshot", "tags": [ "Cloud Volumes" ], @@ -15258,14 +14230,18 @@ }, { "$ref": "#/components/parameters/subResourceId" - }, - { - "$ref": "#/components/parameters/expand" - }, - { - "$ref": "#/components/parameters/attributes" } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CloudVolumeSnapshot" + } + } + } + }, "responses": { "200": { "description": "Success", @@ -15301,6 +14277,9 @@ "404": { "$ref": "#/components/responses/NotFound" }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, "401": { "$ref": "#/components/responses/Unauthorized" }, @@ -15309,152 +14288,10 @@ } } }, - "put": { + "patch": { "summary": "Update a Cloud Volume Snapshot", "description": "Updates an existing Cloud Volume Snapshot", - "operationId": "put_cloud_volume_cloud_volume_snapshot", - "tags": [ - "Cloud Volumes" - ], - "parameters": [ - { - "$ref": "#/components/parameters/resourceId" - }, - { - "$ref": "#/components/parameters/subResourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CloudVolumeSnapshot" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CloudVolumeSnapshot" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "$ref": "#/components/responses/NotFound" - }, - "422": { - "$ref": "#/components/responses/UnprocessableEntity" - }, - "401": { - "$ref": "#/components/responses/Unauthorized" - }, - "403": { - "$ref": "#/components/responses/Forbidden" - } - } - }, - "post": { - "summary": "Update a Cloud Volume Snapshot", - "description": "Updates an existing Cloud Volume Snapshot", - "operationId": "update_cloud_volume_cloud_volume_snapshot", - "tags": [ - "Cloud Volumes" - ], - "parameters": [ - { - "$ref": "#/components/parameters/resourceId" - }, - { - "$ref": "#/components/parameters/subResourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CloudVolumeSnapshot" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CloudVolumeSnapshot" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "$ref": "#/components/responses/NotFound" - }, - "422": { - "$ref": "#/components/responses/UnprocessableEntity" - }, - "401": { - "$ref": "#/components/responses/Unauthorized" - }, - "403": { - "$ref": "#/components/responses/Forbidden" - } - } - }, - "patch": { - "summary": "Update a Cloud Volume Snapshot", - "description": "Updates an existing Cloud Volume Snapshot", - "operationId": "patch_cloud_volume_cloud_volume_snapshot", + "operationId": "patch_cloud_volume_cloud_volume_snapshot", "tags": [ "Cloud Volumes" ], @@ -15538,9 +14375,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -15677,37 +14511,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/EmsCluster" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -16031,37 +14834,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -16255,9 +15027,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -16405,37 +15174,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqPolicy" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -16629,9 +15367,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -16779,37 +15514,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqPolicySet" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -17145,9 +15849,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -17284,37 +15985,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Condition" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -17499,9 +16169,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -17834,37 +16501,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ConfigurationScriptPayload" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -18308,242 +16944,211 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Authentication" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "$ref": "#/components/responses/NotFound" - }, - "422": { - "$ref": "#/components/responses/UnprocessableEntity" - }, - "401": { - "$ref": "#/components/responses/Unauthorized" - }, - "403": { - "$ref": "#/components/responses/Forbidden" - } - } - }, - "options": { - "summary": "Get options for Authentications", - "description": "Returns available HTTP methods and actions", - "operationId": "options_authentications", - "tags": [ - "Authentications" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/configuration_script_payloads/{c_id}/authentications/{s_id}": { - "get": { - "summary": "Get a Authentication", - "description": "Returns a single Authentication by ID", - "operationId": "get_configuration_script_payload_authentication", - "tags": [ - "Configuration Script Payloads" - ], - "parameters": [ - { - "$ref": "#/components/parameters/resourceId" - }, - { - "$ref": "#/components/parameters/subResourceId" - }, - { - "$ref": "#/components/parameters/expand" - }, - { - "$ref": "#/components/parameters/attributes" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Authentication" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "$ref": "#/components/responses/NotFound" - }, - "401": { - "$ref": "#/components/responses/Unauthorized" - }, - "403": { - "$ref": "#/components/responses/Forbidden" - } - } - }, - "put": { - "summary": "Update a Authentication", - "description": "Updates an existing Authentication", - "operationId": "put_configuration_script_payload_authentication", - "tags": [ - "Configuration Script Payloads" - ], - "parameters": [ - { - "$ref": "#/components/parameters/resourceId" - }, - { - "$ref": "#/components/parameters/subResourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Authentication" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Authentication" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "$ref": "#/components/responses/NotFound" - }, - "422": { - "$ref": "#/components/responses/UnprocessableEntity" - }, - "401": { - "$ref": "#/components/responses/Unauthorized" - }, - "403": { - "$ref": "#/components/responses/Forbidden" - } - } - }, - "post": { - "summary": "Update a Authentication", - "description": "Updates an existing Authentication", - "operationId": "update_configuration_script_payload_authentication", - "tags": [ - "Configuration Script Payloads" - ], - "parameters": [ - { - "$ref": "#/components/parameters/resourceId" - }, - { - "$ref": "#/components/parameters/subResourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Authentication" - } - } - } - }, - "responses": { - "200": { - "description": "Success", + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Authentications", + "description": "Returns available HTTP methods and actions", + "operationId": "options_authentications", + "tags": [ + "Authentications" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/configuration_script_payloads/{c_id}/authentications/{s_id}": { + "get": { + "summary": "Get a Authentication", + "description": "Returns a single Authentication by ID", + "operationId": "get_configuration_script_payload_authentication", + "tags": [ + "Configuration Script Payloads" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/subResourceId" + }, + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/Authentication" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "put": { + "summary": "Update a Authentication", + "description": "Updates an existing Authentication", + "operationId": "put_configuration_script_payload_authentication", + "tags": [ + "Configuration Script Payloads" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Authentication" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/Authentication" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Update a Authentication", + "description": "Updates an existing Authentication", + "operationId": "update_configuration_script_payload_authentication", + "tags": [ + "Configuration Script Payloads" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/subResourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Authentication" + } + } + } + }, + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { @@ -18674,9 +17279,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -18813,37 +17415,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ConfigurationScriptSource" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -19164,9 +17735,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -19314,37 +17882,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ConfigurationScriptPayload" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -20181,37 +18718,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ContainerGroup" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -20524,37 +19030,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ContainerImage" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -20878,37 +19353,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomAttribute" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -21102,9 +19546,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -21241,37 +19682,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ContainerNode" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -21584,37 +19994,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ContainerProject" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -21951,9 +20330,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -22101,37 +20477,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -22325,9 +20670,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -22475,37 +20817,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomAttribute" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -22699,9 +21010,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -22838,37 +21146,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ContainerTemplate" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -23181,37 +21458,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ContainerVolume" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -23524,37 +21770,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Container" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -24047,37 +22262,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomButtonSet" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -24398,9 +22582,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -24537,37 +22718,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomButton" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -24888,9 +23038,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -25027,37 +23174,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomizationScript" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -25354,37 +23470,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomizationTemplate" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -25705,9 +23790,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -25844,37 +23926,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Storage" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -26075,9 +24126,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -26225,37 +24273,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -26449,9 +24466,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -26784,37 +24798,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqEventDefinitionSet" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -27122,37 +25105,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqEventDefinition" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -27455,37 +25407,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/EventStream" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -27782,37 +25703,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqEventDefinition" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -28109,37 +25999,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqProductFeature" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -28436,37 +26295,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/FirmwareRegistry" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -28651,9 +26479,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -28790,37 +26615,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Firmware" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -29117,37 +26911,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Flavor" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -29332,9 +27095,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -29482,37 +27242,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -29706,9 +27435,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -29845,37 +27571,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/FloatingIp" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -30196,9 +27891,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -30335,37 +28027,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/GenericObjectDefinition" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -30686,9 +28347,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -30836,37 +28494,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/GenericObject" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -31060,9 +28687,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -31199,37 +28823,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/GenericObject" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -31430,9 +29023,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -31580,37 +29170,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -31804,9 +29363,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -31943,37 +29499,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqGroup" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -32310,9 +29835,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -32665,37 +30187,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -32889,9 +30380,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -33028,37 +30516,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/GuestDevice" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -33355,37 +30812,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/HostAggregate" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -33706,9 +31132,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -33856,37 +31279,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -34080,9 +31472,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -34219,37 +31608,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/HostInitiatorGroup" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -34570,9 +31928,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -34709,37 +32064,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/HostInitiator" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -34924,9 +32248,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -35063,37 +32384,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Host" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -35417,37 +32707,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -35641,9 +32900,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -35791,37 +33047,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqPolicy" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -36015,9 +33240,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -36165,37 +33387,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqPolicySet" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -36531,9 +33722,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -36886,37 +34074,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomAttribute" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -37110,9 +34267,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -37249,37 +34403,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Vm" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -37587,37 +34710,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomAttribute" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -37811,9 +34903,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -37961,37 +35050,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/LoadBalancer" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -38305,37 +35363,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/SecurityGroup" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -38649,37 +35676,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Snapshot" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -38873,9 +35869,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -39012,37 +36005,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/IsoImage" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -39546,37 +36508,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -39770,9 +36701,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -39909,37 +36837,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/LoadBalancer" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -40840,37 +37737,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/NetworkRouter" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -41207,9 +38073,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -41357,37 +38220,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -41581,9 +38413,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -41720,37 +38549,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/NetworkService" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -41951,9 +38749,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -42101,37 +38896,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -42325,9 +39089,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -42464,37 +39225,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/NotificationRecipient" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -42679,9 +39409,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -42818,37 +39545,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/OrchestrationStack" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -43161,37 +39857,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/OrchestrationTemplate" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -43512,9 +40177,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -43651,37 +40313,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/PhysicalChassis" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -44005,37 +40636,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/EventStream" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -44338,37 +40938,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/PhysicalRack" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -44681,37 +41250,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/PhysicalServerProfile" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -45019,37 +41557,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/EventStream" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -45352,37 +41859,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/PhysicalServer" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -45706,37 +42182,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/EventStream" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -46244,37 +42689,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/PhysicalStorageFamily" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -46571,37 +42985,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/PhysicalStorage" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -46938,9 +43321,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -47077,181 +43457,150 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/PhysicalSwitch" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "400": { - "$ref": "#/components/responses/BadRequest" - }, - "422": { - "$ref": "#/components/responses/UnprocessableEntity" - }, - "401": { - "$ref": "#/components/responses/Unauthorized" - }, - "403": { - "$ref": "#/components/responses/Forbidden" - } - } - }, - "options": { - "summary": "Get options for Physical Switches", - "description": "Returns available HTTP methods and actions", - "operationId": "options_physical_switches", - "tags": [ - "Physical Switches" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/physical_switches/{c_id}": { - "get": { - "summary": "Get a Physical Switch", - "description": "Returns a single Physical Switch by ID", - "operationId": "get_physical_switch", - "tags": [ - "Physical Switches" - ], - "parameters": [ - { - "$ref": "#/components/parameters/resourceId" - }, - { - "$ref": "#/components/parameters/expand" - }, - { - "$ref": "#/components/parameters/attributes" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/PhysicalSwitch" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "$ref": "#/components/responses/NotFound" - }, - "401": { - "$ref": "#/components/responses/Unauthorized" - }, - "403": { - "$ref": "#/components/responses/Forbidden" - } - } - }, - "post": { - "summary": "Perform action on a Physical Switch", - "description": "Executes a custom action on a specific Physical Switch", - "operationId": "action_physical_switch", - "tags": [ - "Physical Switches" - ], - "parameters": [ - { - "$ref": "#/components/parameters/resourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "action": { - "type": "string", - "description": "Action to perform" - } - }, - "required": [ - "action" - ] - }, - { - "$ref": "#/components/schemas/PhysicalSwitch" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Success", + "400": { + "$ref": "#/components/responses/BadRequest" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Physical Switches", + "description": "Returns available HTTP methods and actions", + "operationId": "options_physical_switches", + "tags": [ + "Physical Switches" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/physical_switches/{c_id}": { + "get": { + "summary": "Get a Physical Switch", + "description": "Returns a single Physical Switch by ID", + "operationId": "get_physical_switch", + "tags": [ + "Physical Switches" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/PhysicalSwitch" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Perform action on a Physical Switch", + "description": "Executes a custom action on a specific Physical Switch", + "operationId": "action_physical_switch", + "tags": [ + "Physical Switches" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string", + "description": "Action to perform" + } + }, + "required": [ + "action" + ] + }, + { + "$ref": "#/components/schemas/PhysicalSwitch" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { @@ -47431,37 +43780,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/EventStream" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -47764,37 +44082,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Picture" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -48091,37 +44378,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqPolicy" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -48306,9 +44562,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -48456,37 +44709,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Condition" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -48680,9 +44902,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -48830,37 +45049,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqAction" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -49174,37 +45362,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqEventDefinition" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -49507,37 +45664,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqAction" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -49834,37 +45960,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqPolicySet" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -50185,9 +46280,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -50335,37 +46427,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqPolicy" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -50559,9 +46620,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -50698,37 +46756,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ExtManagementSystem" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -51065,9 +47092,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -51625,37 +47649,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -51849,9 +47842,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -51999,37 +47989,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqPolicy" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -52223,9 +48182,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -52373,37 +48329,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqPolicySet" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -52739,9 +48664,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -52889,37 +48811,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CloudNetwork" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -53255,9 +49146,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -53405,37 +49293,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CloudSubnet" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -53771,9 +49628,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -53921,8 +49775,72 @@ } }, "responses": { - "201": { - "description": "Created", + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Cloud Tenants", + "description": "Returns available HTTP methods and actions", + "operationId": "options_cloud_tenants", + "tags": [ + "Cloud Tenants" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/providers/{c_id}/cloud_tenants/{s_id}": { + "get": { + "summary": "Get a Cloud Tenant", + "description": "Returns a single Cloud Tenant by ID", + "operationId": "get_provider_cloud_tenant", + "tags": [ + "Providers" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/subResourceId" + }, + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { @@ -53955,9 +49873,6 @@ "404": { "$ref": "#/components/responses/NotFound" }, - "422": { - "$ref": "#/components/responses/UnprocessableEntity" - }, "401": { "$ref": "#/components/responses/Unauthorized" }, @@ -53966,38 +49881,81 @@ } } }, - "options": { - "summary": "Get options for Cloud Tenants", - "description": "Returns available HTTP methods and actions", - "operationId": "options_cloud_tenants", + "put": { + "summary": "Update a Cloud Tenant", + "description": "Updates an existing Cloud Tenant", + "operationId": "put_provider_cloud_tenant", "tags": [ - "Cloud Tenants" + "Providers" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/subResourceId" + } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CloudTenant" + } + } + } + }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "data": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudTenant" + }, + { "type": "object", - "additionalProperties": true + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } } - } + ] } } } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" } } - } - }, - "/api/{version}/providers/{c_id}/cloud_tenants/{s_id}": { - "get": { - "summary": "Get a Cloud Tenant", - "description": "Returns a single Cloud Tenant by ID", - "operationId": "get_provider_cloud_tenant", + }, + "post": { + "summary": "Update a Cloud Tenant", + "description": "Updates an existing Cloud Tenant", + "operationId": "update_provider_cloud_tenant", "tags": [ "Providers" ], @@ -54007,14 +49965,18 @@ }, { "$ref": "#/components/parameters/subResourceId" - }, - { - "$ref": "#/components/parameters/expand" - }, - { - "$ref": "#/components/parameters/attributes" } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CloudTenant" + } + } + } + }, "responses": { "200": { "description": "Success", @@ -54050,6 +50012,9 @@ "404": { "$ref": "#/components/responses/NotFound" }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, "401": { "$ref": "#/components/responses/Unauthorized" }, @@ -54058,152 +50023,10 @@ } } }, - "put": { + "patch": { "summary": "Update a Cloud Tenant", "description": "Updates an existing Cloud Tenant", - "operationId": "put_provider_cloud_tenant", - "tags": [ - "Providers" - ], - "parameters": [ - { - "$ref": "#/components/parameters/resourceId" - }, - { - "$ref": "#/components/parameters/subResourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CloudTenant" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CloudTenant" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "$ref": "#/components/responses/NotFound" - }, - "422": { - "$ref": "#/components/responses/UnprocessableEntity" - }, - "401": { - "$ref": "#/components/responses/Unauthorized" - }, - "403": { - "$ref": "#/components/responses/Forbidden" - } - } - }, - "post": { - "summary": "Update a Cloud Tenant", - "description": "Updates an existing Cloud Tenant", - "operationId": "update_provider_cloud_tenant", - "tags": [ - "Providers" - ], - "parameters": [ - { - "$ref": "#/components/parameters/resourceId" - }, - { - "$ref": "#/components/parameters/subResourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CloudTenant" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CloudTenant" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "$ref": "#/components/responses/NotFound" - }, - "422": { - "$ref": "#/components/responses/UnprocessableEntity" - }, - "401": { - "$ref": "#/components/responses/Unauthorized" - }, - "403": { - "$ref": "#/components/responses/Forbidden" - } - } - }, - "patch": { - "summary": "Update a Cloud Tenant", - "description": "Updates an existing Cloud Tenant", - "operationId": "patch_provider_cloud_tenant", + "operationId": "patch_provider_cloud_tenant", "tags": [ "Providers" ], @@ -54287,9 +50110,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -54642,37 +50462,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomAttribute" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -54866,9 +50655,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -55016,37 +50802,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/LoadBalancer" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -55565,37 +51320,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/NetworkService" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -55789,9 +51513,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -55939,37 +51660,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/SecurityGroup" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -56283,37 +51973,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/SecurityPolicy" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -56507,9 +52166,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -56657,37 +52313,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/SecurityPolicyRule" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -56881,9 +52506,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -57031,37 +52653,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Vm" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -57255,9 +52846,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -57405,37 +52993,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Flavor" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -57629,9 +53186,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -57779,37 +53333,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ManageIQ_Providers_CloudManager_Template" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -58145,9 +53668,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -58899,37 +54419,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqDialog" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -59226,37 +54715,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqProvisionRequest" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -59564,37 +55022,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqRequestTask" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -59897,37 +55324,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/PxeImageType" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -60248,9 +55644,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -60594,37 +55987,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomizationTemplate" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -60960,9 +56322,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -61099,37 +56458,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/PxeMenu" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -61450,9 +56778,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -61589,37 +56914,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/PxeServer" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -61940,9 +57234,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -62295,37 +57586,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/PxeMenu" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -62661,9 +57921,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -62800,37 +58057,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ChargebackRateDetail" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -63151,9 +58377,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -63273,381 +58496,23 @@ } }, "post": { - "summary": "Create a Region", - "description": "Creates a new Region", - "operationId": "create_region", - "tags": [ - "Regions" - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MiqRegion" - } - } - } - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqRegion" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "400": { - "$ref": "#/components/responses/BadRequest" - }, - "422": { - "$ref": "#/components/responses/UnprocessableEntity" - }, - "401": { - "$ref": "#/components/responses/Unauthorized" - }, - "403": { - "$ref": "#/components/responses/Forbidden" - } - } - }, - "options": { - "summary": "Get options for Regions", - "description": "Returns available HTTP methods and actions", - "operationId": "options_regions", - "tags": [ - "Regions" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/regions/{c_id}": { - "get": { - "summary": "Get a Region", - "description": "Returns a single Region by ID", - "operationId": "get_region", - "tags": [ - "Regions" - ], - "parameters": [ - { - "$ref": "#/components/parameters/resourceId" - }, - { - "$ref": "#/components/parameters/expand" - }, - { - "$ref": "#/components/parameters/attributes" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqRegion" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "$ref": "#/components/responses/NotFound" - }, - "401": { - "$ref": "#/components/responses/Unauthorized" - }, - "403": { - "$ref": "#/components/responses/Forbidden" - } - } - }, - "post": { - "summary": "Update a Region", - "description": "Updates an existing Region", - "operationId": "update_region", - "tags": [ - "Regions" - ], - "parameters": [ - { - "$ref": "#/components/parameters/resourceId" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MiqRegion" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqRegion" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "$ref": "#/components/responses/NotFound" - }, - "422": { - "$ref": "#/components/responses/UnprocessableEntity" - }, - "401": { - "$ref": "#/components/responses/Unauthorized" - }, - "403": { - "$ref": "#/components/responses/Forbidden" - } - } - }, - "options": { - "summary": "Get options for Regions", - "description": "Returns available HTTP methods and actions", - "operationId": "options_regions", - "tags": [ - "Regions" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/reports": { - "get": { - "summary": "List Reports", - "description": "Returns a paginated list of Reports", - "operationId": "list_reports", - "tags": [ - "Reports" - ], - "parameters": [ - { - "$ref": "#/components/parameters/expand" - }, - { - "$ref": "#/components/parameters/attributes" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/sortBy" - }, - { - "$ref": "#/components/parameters/sortOrder" - }, - { - "$ref": "#/components/parameters/offset" - }, - { - "$ref": "#/components/parameters/limit" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "reports" - }, - "count": { - "type": "integer" - }, - "subcount": { - "type": "integer" - }, - "pages": { - "type": "integer" - }, - "resources": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MiqReport" - } - }, - "actions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Action" - } - }, - "links": { - "$ref": "#/components/schemas/CollectionLinks" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/Unauthorized" - }, - "403": { - "$ref": "#/components/responses/Forbidden" - } - } - }, - "post": { - "summary": "Create a Report", - "description": "Creates a new Report", - "operationId": "create_report", + "summary": "Create a Region", + "description": "Creates a new Region", + "operationId": "create_region", "tags": [ - "Reports" + "Regions" ], "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MiqReport" + "$ref": "#/components/schemas/MiqRegion" } } } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqReport" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -63663,11 +58528,11 @@ } }, "options": { - "summary": "Get options for Reports", + "summary": "Get options for Regions", "description": "Returns available HTTP methods and actions", - "operationId": "options_reports", + "operationId": "options_regions", "tags": [ - "Reports" + "Regions" ], "responses": { "200": { @@ -63689,13 +58554,13 @@ } } }, - "/api/{version}/reports/{c_id}": { + "/api/{version}/regions/{c_id}": { "get": { - "summary": "Get a Report", - "description": "Returns a single Report by ID", - "operationId": "get_report", + "summary": "Get a Region", + "description": "Returns a single Region by ID", + "operationId": "get_region", "tags": [ - "Reports" + "Regions" ], "parameters": [ { @@ -63716,7 +58581,7 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/MiqReport" + "$ref": "#/components/schemas/MiqRegion" }, { "type": "object", @@ -63752,11 +58617,11 @@ } }, "post": { - "summary": "Update a Report", - "description": "Updates an existing Report", - "operationId": "update_report", + "summary": "Update a Region", + "description": "Updates an existing Region", + "operationId": "update_region", "tags": [ - "Reports" + "Regions" ], "parameters": [ { @@ -63768,7 +58633,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MiqReport" + "$ref": "#/components/schemas/MiqRegion" } } } @@ -63781,7 +58646,7 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/MiqReport" + "$ref": "#/components/schemas/MiqRegion" }, { "type": "object", @@ -63820,11 +58685,11 @@ } }, "options": { - "summary": "Get options for Reports", + "summary": "Get options for Regions", "description": "Returns available HTTP methods and actions", - "operationId": "options_reports", + "operationId": "options_regions", "tags": [ - "Reports" + "Regions" ], "responses": { "200": { @@ -63846,18 +58711,15 @@ } } }, - "/api/{version}/reports/{c_id}/results": { + "/api/{version}/reports": { "get": { - "summary": "List Report Results for Report", - "description": "Returns a paginated list of Report Results", - "operationId": "list_report_results", + "summary": "List Reports", + "description": "Returns a paginated list of Reports", + "operationId": "list_reports", "tags": [ "Reports" ], "parameters": [ - { - "$ref": "#/components/parameters/resourceId" - }, { "$ref": "#/components/parameters/expand" }, @@ -63890,7 +58752,7 @@ "properties": { "name": { "type": "string", - "example": "results" + "example": "reports" }, "count": { "type": "integer" @@ -63904,7 +58766,7 @@ "resources": { "type": "array", "items": { - "$ref": "#/components/schemas/MiqReportResult" + "$ref": "#/components/schemas/MiqReport" } }, "actions": { @@ -63921,9 +58783,6 @@ } } }, - "404": { - "$ref": "#/components/responses/NotFound" - }, "401": { "$ref": "#/components/responses/Unauthorized" }, @@ -63933,61 +58792,25 @@ } }, "post": { - "summary": "Create a Report Result", - "description": "Creates a new Report Result", - "operationId": "create_report_result", + "summary": "Create a Report", + "description": "Creates a new Report", + "operationId": "create_report", "tags": [ "Reports" ], - "parameters": [ - { - "$ref": "#/components/parameters/resourceId" - } - ], "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MiqReportResult" + "$ref": "#/components/schemas/MiqReport" } } } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqReportResult" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "$ref": "#/components/responses/NotFound" + "400": { + "$ref": "#/components/responses/BadRequest" }, "422": { "$ref": "#/components/responses/UnprocessableEntity" @@ -64001,11 +58824,11 @@ } }, "options": { - "summary": "Get options for Report Results", + "summary": "Get options for Reports", "description": "Returns available HTTP methods and actions", - "operationId": "options_results", + "operationId": "options_reports", "tags": [ - "Report Results" + "Reports" ], "responses": { "200": { @@ -64027,11 +58850,11 @@ } } }, - "/api/{version}/reports/{c_id}/results/{s_id}": { + "/api/{version}/reports/{c_id}": { "get": { - "summary": "Get a Report Result", - "description": "Returns a single Report Result by ID", - "operationId": "get_report_result", + "summary": "Get a Report", + "description": "Returns a single Report by ID", + "operationId": "get_report", "tags": [ "Reports" ], @@ -64039,9 +58862,6 @@ { "$ref": "#/components/parameters/resourceId" }, - { - "$ref": "#/components/parameters/subResourceId" - }, { "$ref": "#/components/parameters/expand" }, @@ -64057,7 +58877,7 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/MiqReportResult" + "$ref": "#/components/schemas/MiqReport" }, { "type": "object", @@ -64093,18 +58913,15 @@ } }, "post": { - "summary": "Update a Report Result", - "description": "Updates an existing Report Result", - "operationId": "update_report_result", + "summary": "Update a Report", + "description": "Updates an existing Report", + "operationId": "update_report", "tags": [ "Reports" ], "parameters": [ { "$ref": "#/components/parameters/resourceId" - }, - { - "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -64112,7 +58929,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MiqReportResult" + "$ref": "#/components/schemas/MiqReport" } } } @@ -64125,7 +58942,7 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/MiqReportResult" + "$ref": "#/components/schemas/MiqReport" }, { "type": "object", @@ -64163,42 +58980,12 @@ } } }, - "delete": { - "summary": "Delete a Report Result", - "description": "Deletes an existing Report Result", - "operationId": "delete_report_result", - "tags": [ - "Reports" - ], - "parameters": [ - { - "$ref": "#/components/parameters/resourceId" - }, - { - "$ref": "#/components/parameters/subResourceId" - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, - "404": { - "$ref": "#/components/responses/NotFound" - }, - "401": { - "$ref": "#/components/responses/Unauthorized" - }, - "403": { - "$ref": "#/components/responses/Forbidden" - } - } - }, "options": { - "summary": "Get options for Report Results", + "summary": "Get options for Reports", "description": "Returns available HTTP methods and actions", - "operationId": "options_results", + "operationId": "options_reports", "tags": [ - "Report Results" + "Reports" ], "responses": { "200": { @@ -64220,11 +59007,11 @@ } } }, - "/api/{version}/reports/{c_id}/schedules": { + "/api/{version}/reports/{c_id}/results": { "get": { - "summary": "List Schedules for Report", - "description": "Returns a paginated list of Schedules", - "operationId": "list_report_schedules", + "summary": "List Report Results for Report", + "description": "Returns a paginated list of Report Results", + "operationId": "list_report_results", "tags": [ "Reports" ], @@ -64264,7 +59051,7 @@ "properties": { "name": { "type": "string", - "example": "schedules" + "example": "results" }, "count": { "type": "integer" @@ -64278,7 +59065,7 @@ "resources": { "type": "array", "items": { - "$ref": "#/components/schemas/MiqSchedule" + "$ref": "#/components/schemas/MiqReportResult" } }, "actions": { @@ -64307,9 +59094,9 @@ } }, "post": { - "summary": "Create a Schedule", - "description": "Creates a new Schedule", - "operationId": "create_report_schedule", + "summary": "Create a Report Result", + "description": "Creates a new Report Result", + "operationId": "create_report_result", "tags": [ "Reports" ], @@ -64323,43 +59110,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MiqSchedule" + "$ref": "#/components/schemas/MiqReportResult" } } } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqSchedule" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -64375,11 +59131,11 @@ } }, "options": { - "summary": "Get options for Schedules", + "summary": "Get options for Report Results", "description": "Returns available HTTP methods and actions", - "operationId": "options_schedules", + "operationId": "options_results", "tags": [ - "Schedules" + "Report Results" ], "responses": { "200": { @@ -64401,11 +59157,11 @@ } } }, - "/api/{version}/reports/{c_id}/schedules/{s_id}": { + "/api/{version}/reports/{c_id}/results/{s_id}": { "get": { - "summary": "Get a Schedule", - "description": "Returns a single Schedule by ID", - "operationId": "get_report_schedule", + "summary": "Get a Report Result", + "description": "Returns a single Report Result by ID", + "operationId": "get_report_result", "tags": [ "Reports" ], @@ -64431,7 +59187,7 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/MiqSchedule" + "$ref": "#/components/schemas/MiqReportResult" }, { "type": "object", @@ -64467,9 +59223,9 @@ } }, "post": { - "summary": "Update a Schedule", - "description": "Updates an existing Schedule", - "operationId": "update_report_schedule", + "summary": "Update a Report Result", + "description": "Updates an existing Report Result", + "operationId": "update_report_result", "tags": [ "Reports" ], @@ -64486,7 +59242,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MiqSchedule" + "$ref": "#/components/schemas/MiqReportResult" } } } @@ -64499,7 +59255,7 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/MiqSchedule" + "$ref": "#/components/schemas/MiqReportResult" }, { "type": "object", @@ -64538,9 +59294,9 @@ } }, "delete": { - "summary": "Delete a Schedule", - "description": "Deletes an existing Schedule", - "operationId": "delete_report_schedule", + "summary": "Delete a Report Result", + "description": "Deletes an existing Report Result", + "operationId": "delete_report_result", "tags": [ "Reports" ], @@ -64553,9 +59309,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -64568,11 +59321,11 @@ } }, "options": { - "summary": "Get options for Schedules", + "summary": "Get options for Report Results", "description": "Returns available HTTP methods and actions", - "operationId": "options_schedules", + "operationId": "options_results", "tags": [ - "Schedules" + "Report Results" ], "responses": { "200": { @@ -64594,15 +59347,18 @@ } } }, - "/api/{version}/request_tasks": { + "/api/{version}/reports/{c_id}/schedules": { "get": { - "summary": "List Request Tasks", - "description": "Returns a paginated list of Request Tasks", - "operationId": "list_request_tasks", + "summary": "List Schedules for Report", + "description": "Returns a paginated list of Schedules", + "operationId": "list_report_schedules", "tags": [ - "Request Tasks" + "Reports" ], "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, { "$ref": "#/components/parameters/expand" }, @@ -64635,7 +59391,7 @@ "properties": { "name": { "type": "string", - "example": "request_tasks" + "example": "schedules" }, "count": { "type": "integer" @@ -64649,7 +59405,7 @@ "resources": { "type": "array", "items": { - "$ref": "#/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqSchedule" } }, "actions": { @@ -64666,6 +59422,9 @@ } } }, + "404": { + "$ref": "#/components/responses/NotFound" + }, "401": { "$ref": "#/components/responses/Unauthorized" }, @@ -64675,56 +59434,30 @@ } }, "post": { - "summary": "Create a Request Task", - "description": "Creates a new Request Task", - "operationId": "create_request_task", + "summary": "Create a Schedule", + "description": "Creates a new Schedule", + "operationId": "create_report_schedule", "tags": [ - "Request Tasks" + "Reports" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqSchedule" } } } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqRequestTask" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "400": { - "$ref": "#/components/responses/BadRequest" + "404": { + "$ref": "#/components/responses/NotFound" }, "422": { "$ref": "#/components/responses/UnprocessableEntity" @@ -64738,11 +59471,11 @@ } }, "options": { - "summary": "Get options for Request Tasks", + "summary": "Get options for Schedules", "description": "Returns available HTTP methods and actions", - "operationId": "options_request_tasks", + "operationId": "options_schedules", "tags": [ - "Request Tasks" + "Schedules" ], "responses": { "200": { @@ -64764,18 +59497,21 @@ } } }, - "/api/{version}/request_tasks/{c_id}": { + "/api/{version}/reports/{c_id}/schedules/{s_id}": { "get": { - "summary": "Get a Request Task", - "description": "Returns a single Request Task by ID", - "operationId": "get_request_task", + "summary": "Get a Schedule", + "description": "Returns a single Schedule by ID", + "operationId": "get_report_schedule", "tags": [ - "Request Tasks" + "Reports" ], "parameters": [ { "$ref": "#/components/parameters/resourceId" }, + { + "$ref": "#/components/parameters/subResourceId" + }, { "$ref": "#/components/parameters/expand" }, @@ -64791,7 +59527,7 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqSchedule" }, { "type": "object", @@ -64827,15 +59563,18 @@ } }, "post": { - "summary": "Update a Request Task", - "description": "Updates an existing Request Task", - "operationId": "update_request_task", + "summary": "Update a Schedule", + "description": "Updates an existing Schedule", + "operationId": "update_report_schedule", "tags": [ - "Request Tasks" + "Reports" ], "parameters": [ { "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/subResourceId" } ], "requestBody": { @@ -64843,7 +59582,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqSchedule" } } } @@ -64856,7 +59595,7 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/MiqRequestTask" + "$ref": "#/components/schemas/MiqSchedule" }, { "type": "object", @@ -64894,12 +59633,39 @@ } } }, + "delete": { + "summary": "Delete a Schedule", + "description": "Deletes an existing Schedule", + "operationId": "delete_report_schedule", + "tags": [ + "Reports" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/subResourceId" + } + ], + "responses": { + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, "options": { - "summary": "Get options for Request Tasks", + "summary": "Get options for Schedules", "description": "Returns available HTTP methods and actions", - "operationId": "options_request_tasks", + "operationId": "options_schedules", "tags": [ - "Request Tasks" + "Schedules" ], "responses": { "200": { @@ -64921,13 +59687,13 @@ } } }, - "/api/{version}/requests": { + "/api/{version}/request_tasks": { "get": { - "summary": "List Requests", - "description": "Returns a paginated list of Requests", - "operationId": "list_requests", + "summary": "List Request Tasks", + "description": "Returns a paginated list of Request Tasks", + "operationId": "list_request_tasks", "tags": [ - "Requests" + "Request Tasks" ], "parameters": [ { @@ -64962,7 +59728,7 @@ "properties": { "name": { "type": "string", - "example": "requests" + "example": "request_tasks" }, "count": { "type": "integer" @@ -64976,7 +59742,7 @@ "resources": { "type": "array", "items": { - "$ref": "#/components/schemas/MiqRequest" + "$ref": "#/components/schemas/MiqRequestTask" } }, "actions": { @@ -65002,31 +59768,92 @@ } }, "post": { - "summary": "Create a Request", - "description": "Creates a new Request", - "operationId": "create_request", + "summary": "Create a Request Task", + "description": "Creates a new Request Task", + "operationId": "create_request_task", "tags": [ - "Requests" + "Request Tasks" ], "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MiqRequest" + "$ref": "#/components/schemas/MiqRequestTask" } } } }, "responses": { - "201": { - "description": "Created", + "400": { + "$ref": "#/components/responses/BadRequest" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Request Tasks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_request_tasks", + "tags": [ + "Request Tasks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/request_tasks/{c_id}": { + "get": { + "summary": "Get a Request Task", + "description": "Returns a single Request Task by ID", + "operationId": "get_request_task", + "tags": [ + "Request Tasks" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], + "responses": { + "200": { + "description": "Success", "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "#/components/schemas/MiqRequest" + "$ref": "#/components/schemas/MiqRequestTask" }, { "type": "object", @@ -65050,6 +59877,210 @@ } } }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Update a Request Task", + "description": "Updates an existing Request Task", + "operationId": "update_request_task", + "tags": [ + "Request Tasks" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MiqRequestTask" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/MiqRequestTask" + }, + { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "description": "Resource URL" + }, + "actions": { + "type": "array", + "description": "Available actions for this resource", + "items": { + "$ref": "#/components/schemas/Action" + } + } + } + } + ] + } + } + } + }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Request Tasks", + "description": "Returns available HTTP methods and actions", + "operationId": "options_request_tasks", + "tags": [ + "Request Tasks" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/requests": { + "get": { + "summary": "List Requests", + "description": "Returns a paginated list of Requests", + "operationId": "list_requests", + "tags": [ + "Requests" + ], + "parameters": [ + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/sortBy" + }, + { + "$ref": "#/components/parameters/sortOrder" + }, + { + "$ref": "#/components/parameters/offset" + }, + { + "$ref": "#/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "requests" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MiqRequest" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Action" + } + }, + "links": { + "$ref": "#/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Create a Request", + "description": "Creates a new Request", + "operationId": "create_request", + "tags": [ + "Requests" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MiqRequest" + } + } + } + }, + "responses": { "400": { "$ref": "#/components/responses/BadRequest" }, @@ -65357,37 +60388,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqRequestTask" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -65690,37 +60690,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ResourcePool" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -66028,37 +60997,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -66252,9 +61190,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -66402,37 +61337,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqPolicy" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -66626,9 +61530,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -66776,37 +61677,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqPolicySet" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -67142,9 +62012,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -67281,37 +62148,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqReportResult" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -67496,9 +62332,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -67635,37 +62468,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqUserRole" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -67850,9 +62652,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -68000,37 +62799,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqProductFeature" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -68333,37 +63101,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqSearch" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -68548,9 +63285,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -68687,37 +63421,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/SecurityGroup" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -69041,37 +63744,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -69265,9 +63937,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -69404,37 +64073,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/SecurityPolicy" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -69635,9 +64273,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -69785,37 +64420,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -70009,9 +64613,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -70159,37 +64760,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/SecurityPolicyRule" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -70383,9 +64953,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -70522,37 +65089,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/SecurityPolicyRule" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -70753,9 +65289,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -70903,37 +65436,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -71127,9 +65629,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -71266,37 +65765,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqServer" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -71481,9 +65949,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -71620,37 +66085,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ServiceTemplateCatalog" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -71971,9 +66405,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -72121,37 +66552,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ServiceTemplate" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -72487,9 +66887,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -72626,37 +67023,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Dialog" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -72841,9 +67207,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -73381,37 +67744,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ServiceOrder" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -73732,9 +68064,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -73882,37 +68211,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -74106,9 +68404,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -74441,37 +68736,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -74656,9 +68920,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -74806,37 +69067,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqRequestTask" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -75139,37 +69369,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ServiceTemplate" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -75506,9 +69705,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -75861,37 +70057,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -76085,9 +70250,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -76235,37 +70397,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqSchedule" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -76459,9 +70590,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -76609,37 +70737,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ServiceTemplateProvisionRequest" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -76833,9 +70930,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -76983,37 +71077,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Dialog" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -77207,9 +71270,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -77346,37 +71406,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Service" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -77713,9 +71742,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -77863,37 +71889,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -78087,9 +72082,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -78237,37 +72229,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Dialog" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -78461,9 +72422,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -78611,37 +72569,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Vm" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -78835,9 +72762,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -78985,37 +72909,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/OrchestrationStack" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -79534,37 +73427,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/GenericObject" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -79758,9 +73620,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -79908,37 +73767,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomAttribute" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -80132,9 +73960,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -80467,37 +74292,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/StorageResource" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -80794,37 +74588,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/StorageService" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -81161,9 +74924,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -81300,37 +75060,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Switch" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -81643,37 +75372,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -81858,9 +75556,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -81997,37 +75692,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqTask" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -82212,9 +75876,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -82351,37 +76012,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqTemplate" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -82718,9 +76348,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -82868,37 +76495,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -83092,9 +76688,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -83242,37 +76835,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqPolicy" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -83466,9 +77028,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -83616,37 +77175,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqPolicySet" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -83982,9 +77510,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -84317,37 +77842,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tenant" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -84684,9 +78178,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -85039,37 +78530,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -85263,9 +78723,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -85413,37 +78870,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/TenantQuota" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -85779,9 +79205,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -85918,37 +79341,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/TimeProfile" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -86269,9 +79661,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -86408,37 +79797,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/User" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -86775,9 +80133,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -87130,37 +80485,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -87354,9 +80678,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -87493,37 +80814,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Vm" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -87724,9 +81014,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -88284,37 +81571,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Tag" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -88508,9 +81764,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -88658,37 +81911,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqPolicy" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -88882,9 +82104,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -89032,37 +82251,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqPolicySet" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -89398,9 +82586,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -89958,37 +83143,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomAttribute" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -90182,9 +83336,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -90332,37 +83483,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/SecurityGroup" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -90881,37 +84001,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Snapshot" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -91105,9 +84194,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -91395,209 +84481,7 @@ "properties": { "name": { "type": "string", - "example": "metric_rollups" - }, - "count": { - "type": "integer" - }, - "subcount": { - "type": "integer" - }, - "pages": { - "type": "integer" - }, - "resources": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MetricRollup" - } - }, - "actions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Action" - } - }, - "links": { - "$ref": "#/components/schemas/CollectionLinks" - } - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/NotFound" - }, - "401": { - "$ref": "#/components/responses/Unauthorized" - }, - "403": { - "$ref": "#/components/responses/Forbidden" - } - } - }, - "options": { - "summary": "Get options for Metric Rollups", - "description": "Returns available HTTP methods and actions", - "operationId": "options_metric_rollups", - "tags": [ - "Metric Rollups" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/vms/{c_id}/metric_rollups/{s_id}": { - "get": { - "summary": "Get a Metric Rollup", - "description": "Returns a single Metric Rollup by ID", - "operationId": "get_vm_metric_rollup", - "tags": [ - "Virtual Machines" - ], - "parameters": [ - { - "$ref": "#/components/parameters/resourceId" - }, - { - "$ref": "#/components/parameters/subResourceId" - }, - { - "$ref": "#/components/parameters/expand" - }, - { - "$ref": "#/components/parameters/attributes" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MetricRollup" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, - "404": { - "$ref": "#/components/responses/NotFound" - }, - "401": { - "$ref": "#/components/responses/Unauthorized" - }, - "403": { - "$ref": "#/components/responses/Forbidden" - } - } - }, - "options": { - "summary": "Get options for Metric Rollups", - "description": "Returns available HTTP methods and actions", - "operationId": "options_metric_rollups", - "tags": [ - "Metric Rollups" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": true - } - } - } - } - } - } - } - } - }, - "/api/{version}/volume_mappings": { - "get": { - "summary": "List Volume Mappings", - "description": "Returns a paginated list of Volume Mappings", - "operationId": "list_volume_mappings", - "tags": [ - "Volume Mappings" - ], - "parameters": [ - { - "$ref": "#/components/parameters/expand" - }, - { - "$ref": "#/components/parameters/attributes" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/sortBy" - }, - { - "$ref": "#/components/parameters/sortOrder" - }, - { - "$ref": "#/components/parameters/offset" - }, - { - "$ref": "#/components/parameters/limit" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "volume_mappings" + "example": "metric_rollups" }, "count": { "type": "integer" @@ -91611,7 +84495,7 @@ "resources": { "type": "array", "items": { - "$ref": "#/components/schemas/VolumeMapping" + "$ref": "#/components/schemas/MetricRollup" } }, "actions": { @@ -91628,6 +84512,9 @@ } } }, + "404": { + "$ref": "#/components/responses/NotFound" + }, "401": { "$ref": "#/components/responses/Unauthorized" }, @@ -91636,32 +84523,64 @@ } } }, - "post": { - "summary": "Create a Volume Mapping", - "description": "Creates a new Volume Mapping", - "operationId": "create_volume_mapping", + "options": { + "summary": "Get options for Metric Rollups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_metric_rollups", "tags": [ - "Volume Mappings" + "Metric Rollups" ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VolumeMapping" + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } } } } - }, + } + } + }, + "/api/{version}/vms/{c_id}/metric_rollups/{s_id}": { + "get": { + "summary": "Get a Metric Rollup", + "description": "Returns a single Metric Rollup by ID", + "operationId": "get_vm_metric_rollup", + "tags": [ + "Virtual Machines" + ], + "parameters": [ + { + "$ref": "#/components/parameters/resourceId" + }, + { + "$ref": "#/components/parameters/subResourceId" + }, + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + } + ], "responses": { - "201": { - "description": "Created", + "200": { + "description": "Success", "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "#/components/schemas/VolumeMapping" + "$ref": "#/components/schemas/MetricRollup" }, { "type": "object", @@ -91685,6 +84604,142 @@ } } }, + "404": { + "$ref": "#/components/responses/NotFound" + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "options": { + "summary": "Get options for Metric Rollups", + "description": "Returns available HTTP methods and actions", + "operationId": "options_metric_rollups", + "tags": [ + "Metric Rollups" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + } + } + } + } + } + }, + "/api/{version}/volume_mappings": { + "get": { + "summary": "List Volume Mappings", + "description": "Returns a paginated list of Volume Mappings", + "operationId": "list_volume_mappings", + "tags": [ + "Volume Mappings" + ], + "parameters": [ + { + "$ref": "#/components/parameters/expand" + }, + { + "$ref": "#/components/parameters/attributes" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/sortBy" + }, + { + "$ref": "#/components/parameters/sortOrder" + }, + { + "$ref": "#/components/parameters/offset" + }, + { + "$ref": "#/components/parameters/limit" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "volume_mappings" + }, + "count": { + "type": "integer" + }, + "subcount": { + "type": "integer" + }, + "pages": { + "type": "integer" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/components/schemas/VolumeMapping" + } + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Action" + } + }, + "links": { + "$ref": "#/components/schemas/CollectionLinks" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/Unauthorized" + }, + "403": { + "$ref": "#/components/responses/Forbidden" + } + } + }, + "post": { + "summary": "Create a Volume Mapping", + "description": "Creates a new Volume Mapping", + "operationId": "create_volume_mapping", + "tags": [ + "Volume Mappings" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VolumeMapping" + } + } + } + }, + "responses": { "400": { "$ref": "#/components/responses/BadRequest" }, @@ -91869,9 +84924,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, @@ -92008,37 +85060,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MiqWidget" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -92335,37 +85356,6 @@ } }, "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/Zone" - }, - { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "description": "Resource URL" - }, - "actions": { - "type": "array", - "description": "Available actions for this resource", - "items": { - "$ref": "#/components/schemas/Action" - } - } - } - } - ] - } - } - } - }, "400": { "$ref": "#/components/responses/BadRequest" }, @@ -92686,9 +85676,6 @@ } ], "responses": { - "204": { - "$ref": "#/components/responses/NoContent" - }, "404": { "$ref": "#/components/responses/NotFound" }, diff --git a/lib/manageiq/api/open_api/operation_builder.rb b/lib/manageiq/api/open_api/operation_builder.rb index 7b7b879e1d..69548e6248 100644 --- a/lib/manageiq/api/open_api/operation_builder.rb +++ b/lib/manageiq/api/open_api/operation_builder.rb @@ -67,14 +67,6 @@ def self.build_create_operation(collection_name, collection, model_schema_name) } }, "responses" => { - "201" => { - "description" => "Created", - "content" => { - "application/json" => { - "schema" => SchemaBuilder.build_resource_response_schema(model_schema_name) - } - } - }, "400" => SchemaBuilder.build_standard_responses["400"], "422" => SchemaBuilder.build_standard_responses["422"] }.merge(error_responses) @@ -125,7 +117,6 @@ def self.build_delete_operation(collection_name, collection) {"$ref" => "#{PARAMETERS_PATH}/resourceId"} ], "responses" => { - "204" => SchemaBuilder.build_standard_responses["204"], "404" => SchemaBuilder.build_standard_responses["404"] }.merge(error_responses) } diff --git a/lib/manageiq/api/open_api/path_builder.rb b/lib/manageiq/api/open_api/path_builder.rb index 283a81b048..1355a9a3d8 100644 --- a/lib/manageiq/api/open_api/path_builder.rb +++ b/lib/manageiq/api/open_api/path_builder.rb @@ -56,9 +56,7 @@ def self.build_primary_collection_paths(paths, collection_name, collection, mode "description" => "Deletes the #{collection[:description] || collection_name}", "operationId" => "delete_#{collection_name}", "tags" => [collection[:description] || collection_name.to_s.titleize], - "responses" => { - "204" => SchemaBuilder.build_standard_responses["204"] - }.merge(OperationBuilder.error_responses) + "responses" => OperationBuilder.error_responses } end end @@ -226,7 +224,6 @@ def self.build_subcollection_paths(paths, parent_collection_name, subcollection_ {"$ref" => "#{PARAMETERS_PATH}/resourceId"} ], "responses" => { - "204" => SchemaBuilder.build_standard_responses["204"], "404" => SchemaBuilder.build_standard_responses["404"] }.merge(OperationBuilder.error_responses) }, @@ -316,14 +313,6 @@ def self.build_subcollection_paths(paths, parent_collection_name, subcollection_ } }, "responses" => { - "201" => { - "description" => "Created", - "content" => { - "application/json" => { - "schema" => SchemaBuilder.build_resource_response_schema(model_schema_name) - } - } - }, "404" => SchemaBuilder.build_standard_responses["404"], "422" => SchemaBuilder.build_standard_responses["422"] }.merge(OperationBuilder.error_responses) @@ -445,7 +434,6 @@ def self.build_subcollection_paths(paths, parent_collection_name, subcollection_ {"$ref" => "#{PARAMETERS_PATH}/subResourceId"} ], "responses" => { - "204" => SchemaBuilder.build_standard_responses["204"], "404" => SchemaBuilder.build_standard_responses["404"] }.merge(OperationBuilder.error_responses) } diff --git a/lib/manageiq/api/open_api/schema_builder.rb b/lib/manageiq/api/open_api/schema_builder.rb index 72484bb109..98108a07a4 100644 --- a/lib/manageiq/api/open_api/schema_builder.rb +++ b/lib/manageiq/api/open_api/schema_builder.rb @@ -258,12 +258,6 @@ def self.build_standard_responses "200" => { "description" => "Success" }, - "201" => { - "description" => "Created" - }, - "204" => { - "$ref" => "#/components/responses/NoContent" - }, "400" => { "$ref" => "#/components/responses/BadRequest" },