diff --git a/docusaurus-docs/static/openapi.json b/docusaurus-docs/static/openapi.json index 6c51f3beb..793a022f3 100644 --- a/docusaurus-docs/static/openapi.json +++ b/docusaurus-docs/static/openapi.json @@ -1,4229 +1,4229 @@ { - "openapi": "3.1.0", - "info": { - "title": "conda-store", - "version": "2024.6.1" - }, - "paths": { - "/login/": { - "get": { - "tags": [ - "auth" + "components": { + "schemas": { + "APIAckResponse": { + "properties": { + "message": { + "title": "Message", + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/APIStatus" + } + }, + "required": [ + "status" ], - "summary": "Get Login Method", - "operationId": "get_login_method_login__get", - "parameters": [ - { - "required": false, - "schema": { - "type": "string", - "title": "Next" - }, - "name": "next", - "in": "query" + "title": "APIAckResponse", + "type": "object" + }, + "APIDeleteNamespaceRole": { + "properties": { + "other_namespace": { + "title": "Other Namespace", + "type": "string" } + }, + "required": [ + "other_namespace" ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": {} - } - } + "title": "APIDeleteNamespaceRole", + "type": "object" + }, + "APIGetBuild": { + "properties": { + "data": { + "$ref": "#/components/schemas/Build" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } + "message": { + "title": "Message", + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/APIStatus" } - } + }, + "required": [ + "status", + "data" + ], + "title": "APIGetBuild", + "type": "object" }, - "post": { - "tags": [ - "auth" + "APIGetEnvironment": { + "properties": { + "data": { + "$ref": "#/components/schemas/Environment" + }, + "message": { + "title": "Message", + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/APIStatus" + } + }, + "required": [ + "status", + "data" ], - "summary": "Post Login Method", - "operationId": "post_login_method_login__post", - "parameters": [ - { - "required": false, - "schema": { - "type": "string", - "title": "Next" - }, - "name": "next", - "in": "query" + "title": "APIGetEnvironment", + "type": "object" + }, + "APIGetNamespace": { + "properties": { + "data": { + "$ref": "#/components/schemas/Namespace" + }, + "message": { + "title": "Message", + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/APIStatus" } + }, + "required": [ + "status", + "data" ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": {} - } - } + "title": "APIGetNamespace", + "type": "object" + }, + "APIGetPermission": { + "properties": { + "data": { + "$ref": "#/components/schemas/APIGetPermissionData" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } + "message": { + "title": "Message", + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/APIStatus" } - } - } - }, - "/logout/": { - "post": { - "tags": [ - "auth" + }, + "required": [ + "status", + "data" ], - "summary": "Post Logout Method", - "operationId": "post_logout_method_logout__post", - "parameters": [ - { - "required": false, - "schema": { - "type": "string", - "title": "Next" + "title": "APIGetPermission", + "type": "object" + }, + "APIGetPermissionData": { + "properties": { + "authenticated": { + "title": "Authenticated", + "type": "boolean" + }, + "entity_permissions": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" }, - "name": "next", - "in": "query" + "title": "Entity Permissions", + "type": "object" + }, + "entity_roles": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "title": "Entity Roles", + "type": "object" + }, + "expiration": { + "format": "date-time", + "title": "Expiration", + "type": "string" + }, + "primary_namespace": { + "title": "Primary Namespace", + "type": "string" } + }, + "required": [ + "authenticated", + "primary_namespace", + "entity_permissions", + "entity_roles" ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": {} - } - } + "title": "APIGetPermissionData", + "type": "object" + }, + "APIGetSetting": { + "properties": { + "data": { + "title": "Data", + "type": "object" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } + "message": { + "title": "Message", + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/APIStatus" } - } - } - }, - "/api/v1/": { - "get": { - "tags": [ - "api" + }, + "required": [ + "status", + "data" ], - "summary": "Api Status", - "operationId": "api_status_api_v1__get", - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIGetStatus" - } - } - } - } - } - } - }, - "/api/v1/permission/": { - "get": { - "tags": [ - "api" + "title": "APIGetSetting", + "type": "object" + }, + "APIGetSpecificationFormat": { + "description": "An enumeration.", + "enum": [ + "yaml", + "lockfile" ], - "summary": "Api Get Permissions", - "operationId": "api_get_permissions_api_v1_permission__get", - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIGetPermission" - } - } - } + "title": "APIGetSpecificationFormat" + }, + "APIGetStatus": { + "properties": { + "data": { + "$ref": "#/components/schemas/APIGetStatusData" + }, + "message": { + "title": "Message", + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/APIStatus" } - } - } - }, - "/api/v1/usage/": { - "get": { - "tags": [ - "api" - ], - "summary": "Api Get Usage", - "operationId": "api_get_usage_api_v1_usage__get", - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIGetUsage" - } - } - } - } - } - } - }, - "/api/v1/token/": { - "post": { - "tags": [ - "api" + }, + "required": [ + "status", + "data" ], - "summary": "Api Post Token", - "operationId": "api_post_token_api_v1_token__post", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Body_api_post_token_api_v1_token__post" - } - } + "title": "APIGetStatus", + "type": "object" + }, + "APIGetStatusData": { + "properties": { + "version": { + "title": "Version", + "type": "string" } }, - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIPostToken" - } - } - } + "required": [ + "version" + ], + "title": "APIGetStatusData", + "type": "object" + }, + "APIGetUsage": { + "properties": { + "data": { + "additionalProperties": { + "type": "object" + }, + "title": "Data", + "type": "object" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } + "message": { + "title": "Message", + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/APIStatus" } - } - } - }, - "/api/v1/namespace/": { - "get": { - "tags": [ - "api" + }, + "required": [ + "status", + "data" ], - "summary": "Api List Namespaces", - "operationId": "api_list_namespaces_api_v1_namespace__get", - "parameters": [ - { - "required": false, - "schema": { - "type": "integer", - "title": "Page", - "default": 1 - }, - "name": "page", - "in": "query" + "title": "APIGetUsage", + "type": "object" + }, + "APIListBuild": { + "properties": { + "count": { + "title": "Count", + "type": "integer" }, - { - "required": false, - "schema": { - "type": "string", - "title": "Order" + "data": { + "items": { + "$ref": "#/components/schemas/Build" }, - "name": "order", - "in": "query" + "title": "Data", + "type": "array" }, - { - "required": false, - "schema": { - "type": "integer", - "title": "Size" - }, - "name": "size", - "in": "query" + "message": { + "title": "Message", + "type": "string" }, - { - "required": false, - "schema": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Sort By", - "default": [] - }, - "name": "sort_by", - "in": "query" - } - ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIListNamespace" - } - } - } + "page": { + "title": "Page", + "type": "integer" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } + "size": { + "title": "Size", + "type": "integer" + }, + "status": { + "$ref": "#/components/schemas/APIStatus" } - } - } - }, - "/api/v1/namespace/{namespace}/": { - "get": { - "tags": [ - "api" + }, + "required": [ + "status", + "data", + "page", + "size", + "count" ], - "summary": "Api Get Namespace", - "operationId": "api_get_namespace_api_v1_namespace__namespace___get", - "parameters": [ - { - "required": true, - "schema": { - "type": "string", - "title": "Namespace" + "title": "APIListBuild", + "type": "object" + }, + "APIListCondaChannel": { + "properties": { + "count": { + "title": "Count", + "type": "integer" + }, + "data": { + "items": { + "$ref": "#/components/schemas/CondaChannel" }, - "name": "namespace", - "in": "path" + "title": "Data", + "type": "array" + }, + "message": { + "title": "Message", + "type": "string" + }, + "page": { + "title": "Page", + "type": "integer" + }, + "size": { + "title": "Size", + "type": "integer" + }, + "status": { + "$ref": "#/components/schemas/APIStatus" } + }, + "required": [ + "status", + "data", + "page", + "size", + "count" ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIGetNamespace" - } - } - } + "title": "APIListCondaChannel", + "type": "object" + }, + "APIListCondaPackage": { + "properties": { + "count": { + "title": "Count", + "type": "integer" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } + "data": { + "items": { + "$ref": "#/components/schemas/CondaPackage" + }, + "title": "Data", + "type": "array" + }, + "message": { + "title": "Message", + "type": "string" + }, + "page": { + "title": "Page", + "type": "integer" + }, + "size": { + "title": "Size", + "type": "integer" + }, + "status": { + "$ref": "#/components/schemas/APIStatus" } - } - }, - "put": { - "tags": [ - "api" + }, + "required": [ + "status", + "data", + "page", + "size", + "count" ], - "summary": "Api Update Namespace", - "operationId": "api_update_namespace_api_v1_namespace__namespace___put", - "parameters": [ - { - "required": true, - "schema": { - "type": "string", - "title": "Namespace" + "title": "APIListCondaPackage", + "type": "object" + }, + "APIListEnvironment": { + "properties": { + "count": { + "title": "Count", + "type": "integer" + }, + "data": { + "items": { + "$ref": "#/components/schemas/Environment" }, - "name": "namespace", - "in": "path" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Body_api_update_namespace_api_v1_namespace__namespace___put" - } - } + "title": "Data", + "type": "array" + }, + "message": { + "title": "Message", + "type": "string" + }, + "page": { + "title": "Page", + "type": "integer" + }, + "size": { + "title": "Size", + "type": "integer" + }, + "status": { + "$ref": "#/components/schemas/APIStatus" } }, - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIAckResponse" - } - } - } - }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } - } - } - }, - "post": { - "tags": [ - "api" + "required": [ + "status", + "data", + "page", + "size", + "count" ], - "summary": "Api Create Namespace", - "operationId": "api_create_namespace_api_v1_namespace__namespace___post", - "parameters": [ - { - "required": true, - "schema": { - "type": "string", - "title": "Namespace" + "title": "APIListEnvironment", + "type": "object" + }, + "APIListNamespace": { + "properties": { + "count": { + "title": "Count", + "type": "integer" + }, + "data": { + "items": { + "$ref": "#/components/schemas/Namespace" }, - "name": "namespace", - "in": "path" + "title": "Data", + "type": "array" + }, + "message": { + "title": "Message", + "type": "string" + }, + "page": { + "title": "Page", + "type": "integer" + }, + "size": { + "title": "Size", + "type": "integer" + }, + "status": { + "$ref": "#/components/schemas/APIStatus" } + }, + "required": [ + "status", + "data", + "page", + "size", + "count" ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIAckResponse" - } - } - } + "title": "APIListNamespace", + "type": "object" + }, + "APIPostNamespaceRole": { + "properties": { + "other_namespace": { + "title": "Other Namespace", + "type": "string" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } + "role": { + "title": "Role", + "type": "string" } - } + }, + "required": [ + "other_namespace", + "role" + ], + "title": "APIPostNamespaceRole", + "type": "object" }, - "delete": { - "tags": [ - "api" + "APIPostSpecification": { + "properties": { + "data": { + "$ref": "#/components/schemas/APIPostSpecificationData" + }, + "message": { + "title": "Message", + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/APIStatus" + } + }, + "required": [ + "status", + "data" ], - "summary": "Api Delete Namespace", - "operationId": "api_delete_namespace_api_v1_namespace__namespace___delete", - "parameters": [ - { - "required": true, - "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "path" + "title": "APIPostSpecification", + "type": "object" + }, + "APIPostSpecificationData": { + "properties": { + "build_id": { + "title": "Build Id", + "type": "integer" } + }, + "required": [ + "build_id" ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIAckResponse" - } - } - } + "title": "APIPostSpecificationData", + "type": "object" + }, + "APIPostToken": { + "properties": { + "data": { + "$ref": "#/components/schemas/APIPostTokenData" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } + "message": { + "title": "Message", + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/APIStatus" } - } - } - }, - "/api/v1/namespace/{namespace}/metadata": { - "put": { - "tags": [ - "api" + }, + "required": [ + "status", + "data" ], - "summary": "Api Update Namespace Metadata", - "operationId": "api_update_namespace_metadata_api_v1_namespace__namespace__metadata_put", - "parameters": [ - { - "required": true, - "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "path" + "title": "APIPostToken", + "type": "object" + }, + "APIPostTokenData": { + "properties": { + "token": { + "title": "Token", + "type": "string" } + }, + "required": [ + "token" ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "title": "Metadata" - } - } + "title": "APIPostTokenData", + "type": "object" + }, + "APIPutNamespaceRole": { + "properties": { + "other_namespace": { + "title": "Other Namespace", + "type": "string" + }, + "role": { + "title": "Role", + "type": "string" } }, - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIAckResponse" - } - } - } + "required": [ + "other_namespace", + "role" + ], + "title": "APIPutNamespaceRole", + "type": "object" + }, + "APIPutSetting": { + "properties": { + "data": { + "title": "Data" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } + "message": { + "title": "Message", + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/APIStatus" } - } - } - }, - "/api/v1/namespace/{namespace}/roles": { - "get": { - "tags": [ - "api" + }, + "required": [ + "status" ], - "summary": "Api Get Namespace Roles", - "operationId": "api_get_namespace_roles_api_v1_namespace__namespace__roles_get", - "parameters": [ - { - "required": true, - "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "path" + "title": "APIPutSetting", + "type": "object" + }, + "APIResponse": { + "properties": { + "data": { + "title": "Data" + }, + "message": { + "title": "Message", + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/APIStatus" } + }, + "required": [ + "status" ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIResponse" - } - } - } + "title": "APIResponse", + "type": "object" + }, + "APIStatus": { + "description": "An enumeration.", + "enum": [ + "ok", + "error" + ], + "title": "APIStatus" + }, + "Body_api_post_specification_api_v1_specification__post": { + "properties": { + "environment_description": { + "default": "", + "title": "Environment Description", + "type": "string" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } + "environment_name": { + "default": "", + "title": "Environment Name", + "type": "string" + }, + "is_lockfile": { + "default": false, + "title": "Is Lockfile", + "type": "boolean" + }, + "namespace": { + "title": "Namespace", + "type": "string" + }, + "specification": { + "default": "", + "title": "Specification", + "type": "string" } - } + }, + "title": "Body_api_post_specification_api_v1_specification__post", + "type": "object" }, - "delete": { - "tags": [ - "api" - ], - "summary": "Api Delete Namespace Roles", - "operationId": "api_delete_namespace_roles_api_v1_namespace__namespace__roles_delete", - "parameters": [ - { - "required": true, - "schema": { - "type": "string", - "title": "Namespace" + "Body_api_post_token_api_v1_token__post": { + "properties": { + "expiration": { + "format": "date-time", + "title": "Expiration", + "type": "string" + }, + "primary_namespace": { + "title": "Primary Namespace", + "type": "string" + }, + "role_bindings": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" }, - "name": "namespace", - "in": "path" + "title": "Role Bindings", + "type": "object" } - ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIAckResponse" - } - } - } + }, + "title": "Body_api_post_token_api_v1_token__post", + "type": "object" + }, + "Body_api_update_environment_build_api_v1_environment__namespace___name___put": { + "properties": { + "build_id": { + "title": "Build Id", + "type": "integer" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } + "description": { + "title": "Description", + "type": "string" } - } - } - }, - "/api/v1/namespace/{namespace}/role": { - "get": { - "tags": [ - "api" - ], - "summary": "Api Get Namespace Role", - "operationId": "api_get_namespace_role_api_v1_namespace__namespace__role_get", - "parameters": [ - { - "required": true, - "schema": { - "type": "string", - "title": "Namespace" + }, + "title": "Body_api_update_environment_build_api_v1_environment__namespace___name___put", + "type": "object" + }, + "Body_api_update_namespace_api_v1_namespace__namespace___put": { + "properties": { + "metadata": { + "title": "Metadata", + "type": "object" + }, + "role_mappings": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" }, - "name": "namespace", - "in": "path" + "title": "Role Mappings", + "type": "object" + } + }, + "title": "Body_api_update_namespace_api_v1_namespace__namespace___put", + "type": "object" + }, + "Build": { + "properties": { + "build_artifacts": { + "items": { + "$ref": "#/components/schemas/BuildArtifact" + }, + "title": "Build Artifacts", + "type": "array" }, - { - "required": true, - "schema": { - "type": "string", - "title": "Other Namespace" + "ended_on": { + "format": "date-time", + "title": "Ended On", + "type": "string" + }, + "environment_id": { + "title": "Environment Id", + "type": "integer" + }, + "id": { + "title": "Id", + "type": "integer" + }, + "packages": { + "items": { + "$ref": "#/components/schemas/CondaPackage" }, - "name": "other_namespace", - "in": "query" + "title": "Packages", + "type": "array" + }, + "scheduled_on": { + "format": "date-time", + "title": "Scheduled On", + "type": "string" + }, + "size": { + "title": "Size", + "type": "integer" + }, + "specification": { + "$ref": "#/components/schemas/Specification" + }, + "started_on": { + "format": "date-time", + "title": "Started On", + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/BuildStatus" + }, + "status_info": { + "title": "Status Info", + "type": "string" } + }, + "required": [ + "id", + "environment_id", + "status", + "size", + "scheduled_on" ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIResponse" - } - } - } + "title": "Build", + "type": "object" + }, + "BuildArtifact": { + "properties": { + "artifact_type": { + "$ref": "#/components/schemas/BuildArtifactType" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } + "id": { + "title": "Id", + "type": "integer" + }, + "key": { + "title": "Key", + "type": "string" } - } + }, + "required": [ + "id", + "artifact_type", + "key" + ], + "title": "BuildArtifact", + "type": "object" }, - "put": { - "tags": [ - "api" + "BuildArtifactType": { + "description": "An enumeration.", + "enum": [ + "DIRECTORY", + "LOCKFILE", + "LOGS", + "YAML", + "CONDA_PACK", + "DOCKER_BLOB", + "DOCKER_MANIFEST", + "CONTAINER_REGISTRY", + "CONSTRUCTOR_INSTALLER" ], - "summary": "Api Update Namespace Role", - "operationId": "api_update_namespace_role_api_v1_namespace__namespace__role_put", - "parameters": [ - { - "required": true, - "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "path" + "title": "BuildArtifactType" + }, + "BuildStatus": { + "description": "An enumeration.", + "enum": [ + "QUEUED", + "BUILDING", + "COMPLETED", + "FAILED", + "CANCELED" + ], + "title": "BuildStatus" + }, + "CondaChannel": { + "properties": { + "id": { + "title": "Id", + "type": "integer" + }, + "last_update": { + "format": "date-time", + "title": "Last Update", + "type": "string" + }, + "name": { + "title": "Name", + "type": "string" } + }, + "required": [ + "id", + "name" ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIPutNamespaceRole" - } - } + "title": "CondaChannel", + "type": "object" + }, + "CondaPackage": { + "properties": { + "channel": { + "$ref": "#/components/schemas/CondaChannel" }, - "required": true + "id": { + "title": "Id", + "type": "integer" + }, + "license": { + "title": "License", + "type": "string" + }, + "name": { + "title": "Name", + "type": "string" + }, + "summary": { + "title": "Summary", + "type": "string" + }, + "version": { + "title": "Version", + "type": "string" + } }, - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIAckResponse" - } - } - } + "required": [ + "id", + "channel", + "name", + "version" + ], + "title": "CondaPackage", + "type": "object" + }, + "Environment": { + "properties": { + "current_build": { + "$ref": "#/components/schemas/Build" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } + "current_build_id": { + "title": "Current Build Id", + "type": "integer" + }, + "description": { + "title": "Description", + "type": "string" + }, + "id": { + "title": "Id", + "type": "integer" + }, + "name": { + "title": "Name", + "type": "string" + }, + "namespace": { + "$ref": "#/components/schemas/Namespace" + } + }, + "required": [ + "id", + "namespace", + "name", + "current_build_id" + ], + "title": "Environment", + "type": "object" + }, + "HTTPValidationError": { + "properties": { + "detail": { + "items": { + "$ref": "#/components/schemas/ValidationError" + }, + "title": "Detail", + "type": "array" } - } + }, + "title": "HTTPValidationError", + "type": "object" }, - "post": { - "tags": [ - "api" - ], - "summary": "Api Create Namespace Role", - "operationId": "api_create_namespace_role_api_v1_namespace__namespace__role_post", - "parameters": [ - { - "required": true, - "schema": { - "type": "string", - "title": "Namespace" + "Namespace": { + "properties": { + "id": { + "title": "Id", + "type": "integer" + }, + "metadata_": { + "title": "Metadata ", + "type": "object" + }, + "name": { + "pattern": "^[A-Za-z0-9-+_@$&?^~.=]+$", + "title": "Name", + "type": "string" + }, + "role_mappings": { + "default": [], + "items": { + "$ref": "#/components/schemas/NamespaceRoleMapping" }, - "name": "namespace", - "in": "path" + "title": "Role Mappings", + "type": "array" } + }, + "required": [ + "id", + "name" ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIPostNamespaceRole" - } - } + "title": "Namespace", + "type": "object" + }, + "NamespaceRoleMapping": { + "properties": { + "entity": { + "title": "Entity", + "type": "string" }, - "required": true - }, - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIAckResponse" - } - } - } + "id": { + "title": "Id", + "type": "integer" }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } + "role": { + "title": "Role", + "type": "string" } - } - }, - "delete": { - "tags": [ - "api" + }, + "required": [ + "id", + "entity", + "role" ], - "summary": "Api Delete Namespace Role", - "operationId": "api_delete_namespace_role_api_v1_namespace__namespace__role_delete", - "parameters": [ - { - "required": true, - "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "path" + "title": "NamespaceRoleMapping", + "type": "object" + }, + "Specification": { + "properties": { + "created_on": { + "format": "date-time", + "title": "Created On", + "type": "string" + }, + "id": { + "title": "Id", + "type": "integer" + }, + "name": { + "title": "Name", + "type": "string" + }, + "sha256": { + "title": "Sha256", + "type": "string" + }, + "spec": { + "title": "Spec", + "type": "object" } + }, + "required": [ + "id", + "name", + "spec", + "sha256", + "created_on" ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIDeleteNamespaceRole" - } - } + "title": "Specification", + "type": "object" + }, + "ValidationError": { + "properties": { + "loc": { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + }, + "title": "Location", + "type": "array" }, - "required": true + "msg": { + "title": "Message", + "type": "string" + }, + "type": { + "title": "Error Type", + "type": "string" + } }, + "required": [ + "loc", + "msg", + "type" + ], + "title": "ValidationError", + "type": "object" + } + } + }, + "info": { + "title": "conda-store", + "version": "2024.6.1" + }, + "openapi": "3.1.0", + "paths": { + "/": { + "get": { + "operationId": "get_conda_store_ui__get", "responses": { "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIAckResponse" - } - } - } - }, - "422": { - "description": "Validation Error", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } + "schema": {} } - } + }, + "description": "Successful Response" } - } + }, + "summary": "Get Conda Store Ui", + "tags": [ + "conda-store-ui" + ] } }, - "/api/v1/environment/": { + "/admin/": { "get": { - "tags": [ - "api" - ], - "summary": "Api List Environments", - "description": "Retrieve a list of environments.\n\nParameters\n----------\nauth : Authentication\n Authentication instance for the request. Used to get role bindings\n and filter environments returned to those visible by the user making\n the request\nentity : AuthenticationToken\n Token of the user making the request\npaginated_args : PaginatedArgs\n Arguments for controlling pagination of the response\nconda_store : app.CondaStore\n The running conda store application\nsearch : Optional[str]\n If specified, filter by environment names or namespace names containing the\n search term\nnamespace : Optional[str]\n If specified, filter by environments in the given namespace\nname : Optional[str]\n If specified, filter by environments with the given name\nstatus : Optional[schema.BuildStatus]\n If specified, filter by environments with the given status\npackages : Optional[List[str]]\n If specified, filter by environments containing the given package name(s)\nartifact : Optional[schema.BuildArtifactType]\n If specified, filter by environments with the given BuildArtifactType\njwt : Optional[schema.AuthenticationToken]\n If specified, retrieve only the environments accessible to this token; that is,\n only return environments that the user has 'admin', 'editor', and 'viewer'\n role bindings for.\n\nReturns\n-------\nDict\n Paginated JSON response containing the requested environments", - "operationId": "api_list_environments_api_v1_environment__get", + "operationId": "ui_list_environments_admin__get", "parameters": [ { - "required": false, - "schema": { - "$ref": "#/components/schemas/BuildArtifactType" - }, - "name": "artifact", - "in": "query" - }, - { - "required": false, - "schema": { - "type": "string", - "title": "Jwt" - }, - "name": "jwt", - "in": "query" - }, - { - "required": false, - "schema": { - "type": "string", - "title": "Name" - }, - "name": "name", - "in": "query" - }, - { - "required": false, - "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "query" - }, - { - "required": false, - "schema": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Packages", - "default": [] - }, - "name": "packages", - "in": "query" - }, - { - "required": false, - "schema": { - "type": "string", - "title": "Search" - }, + "in": "query", "name": "search", - "in": "query" - }, - { - "required": false, - "schema": { - "$ref": "#/components/schemas/BuildStatus" - }, - "name": "status", - "in": "query" - }, - { - "required": false, - "schema": { - "type": "integer", - "title": "Page", - "default": 1 - }, - "name": "page", - "in": "query" - }, - { - "required": false, - "schema": { - "type": "string", - "title": "Order" - }, - "name": "order", - "in": "query" - }, - { - "required": false, - "schema": { - "type": "integer", - "title": "Size" - }, - "name": "size", - "in": "query" - }, - { "required": false, - "schema": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Sort By", - "default": [] - }, - "name": "sort_by", - "in": "query" + "schema": { + "title": "Search", + "type": "string" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/APIListEnvironment" - } + "schema": {} } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } + }, + "summary": "Ui List Environments", + "tags": [ + "ui" + ] } }, - "/api/v1/environment/{namespace}/{environment_name}/": { + "/admin/build/{build_id}/": { "get": { - "tags": [ - "api" - ], - "summary": "Api Get Environment", - "operationId": "api_get_environment_api_v1_environment__namespace___environment_name___get", + "operationId": "ui_get_build_admin_build__build_id___get", "parameters": [ { + "in": "path", + "name": "build_id", "required": true, "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "path" - }, - { - "required": true, - "schema": { - "type": "string", - "title": "Environment Name" - }, - "name": "environment_name", - "in": "path" + "title": "Build Id", + "type": "integer" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/APIGetEnvironment" - } + "schema": {} } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } + }, + "summary": "Ui Get Build", + "tags": [ + "ui" + ] } }, - "/api/v1/environment/{namespace}/{name}/": { - "put": { + "/admin/create/": { + "get": { + "operationId": "ui_create_get_environment_admin_create__get", + "responses": { + "200": { + "content": { + "application/json": { + "schema": {} + } + }, + "description": "Successful Response" + } + }, + "summary": "Ui Create Get Environment", "tags": [ - "api" - ], - "summary": "Api Update Environment Build", - "operationId": "api_update_environment_build_api_v1_environment__namespace___name___put", + "ui" + ] + } + }, + "/admin/environment/{namespace}/{environment_name}/": { + "get": { + "operationId": "ui_get_environment_admin_environment__namespace___environment_name___get", "parameters": [ { + "in": "path", + "name": "namespace", "required": true, "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "path" + "title": "Namespace", + "type": "string" + } }, { + "in": "path", + "name": "environment_name", "required": true, "schema": { - "type": "string", - "title": "Name" - }, - "name": "name", - "in": "path" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Body_api_update_environment_build_api_v1_environment__namespace___name___put" - } + "title": "Environment Name", + "type": "string" } } - }, + ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/APIAckResponse" - } + "schema": {} } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } - }, - "delete": { + }, + "summary": "Ui Get Environment", "tags": [ - "api" - ], - "summary": "Api Delete Environment", - "operationId": "api_delete_environment_api_v1_environment__namespace___name___delete", + "ui" + ] + } + }, + "/admin/environment/{namespace}/{environment_name}/edit/": { + "get": { + "operationId": "ui_edit_environment_admin_environment__namespace___environment_name__edit__get", "parameters": [ { + "in": "path", + "name": "namespace", "required": true, "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "path" + "title": "Namespace", + "type": "string" + } }, { + "in": "path", + "name": "environment_name", "required": true, "schema": { - "type": "string", - "title": "Name" - }, - "name": "name", - "in": "path" + "title": "Environment Name", + "type": "string" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/APIAckResponse" - } + "schema": {} } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } + }, + "summary": "Ui Edit Environment", + "tags": [ + "ui" + ] } }, - "/api/v1/specification/": { + "/admin/namespace/": { "get": { + "operationId": "ui_list_namespaces_admin_namespace__get", + "responses": { + "200": { + "content": { + "application/json": { + "schema": {} + } + }, + "description": "Successful Response" + } + }, + "summary": "Ui List Namespaces", "tags": [ - "api" - ], - "summary": "Api Get Specification", - "operationId": "api_get_specification_api_v1_specification__get", + "ui" + ] + } + }, + "/admin/setting/": { + "get": { + "operationId": "ui_get_setting_admin_setting__get", "parameters": [ { + "in": "query", + "name": "namespace", "required": false, "schema": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Channel", - "default": [] - }, - "name": "channel", - "in": "query" + "title": "Namespace", + "type": "string" + } }, { + "in": "query", + "name": "environment_name", "required": false, "schema": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Conda", - "default": [] + "title": "Environment Name", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": {} + } }, - "name": "conda", - "in": "query" + "description": "Successful Response" }, + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "Validation Error" + } + }, + "summary": "Ui Get Setting", + "tags": [ + "ui" + ] + } + }, + "/admin/setting/{namespace}/": { + "get": { + "operationId": "ui_get_setting_admin_setting__namespace___get", + "parameters": [ { - "required": false, + "in": "path", + "name": "namespace", + "required": true, "schema": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Pip", - "default": [] - }, - "name": "pip", - "in": "query" + "title": "Namespace", + "type": "string" + } }, { + "in": "query", + "name": "environment_name", "required": false, "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/APIGetSpecificationFormat" - } - ], - "default": "yaml" - }, - "name": "format", - "in": "query" + "title": "Environment Name", + "type": "string" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { "schema": {} } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } - }, - "post": { + }, + "summary": "Ui Get Setting", "tags": [ - "api" + "ui" + ] + } + }, + "/admin/setting/{namespace}/{environment_name}/": { + "get": { + "operationId": "ui_get_setting_admin_setting__namespace___environment_name___get", + "parameters": [ + { + "in": "path", + "name": "namespace", + "required": true, + "schema": { + "title": "Namespace", + "type": "string" + } + }, + { + "in": "path", + "name": "environment_name", + "required": true, + "schema": { + "title": "Environment Name", + "type": "string" + } + } ], - "summary": "Api Post Specification", - "operationId": "api_post_specification_api_v1_specification__post", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Body_api_post_specification_api_v1_specification__post" + "responses": { + "200": { + "content": { + "application/json": { + "schema": {} + } + }, + "description": "Successful Response" + }, + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } - } + }, + "description": "Validation Error" } }, + "summary": "Ui Get Setting", + "tags": [ + "ui" + ] + } + }, + "/admin/user/": { + "get": { + "operationId": "ui_get_user_admin_user__get", "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/APIPostSpecification" - } + "schema": {} } - } - }, - "422": { - "description": "Validation Error", + }, + "description": "Successful Response" + } + }, + "summary": "Ui Get User", + "tags": [ + "ui" + ] + } + }, + "/api/v1/": { + "get": { + "operationId": "api_status_api_v1__get", + "responses": { + "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/HTTPValidationError" + "$ref": "#/components/schemas/APIGetStatus" } } - } + }, + "description": "Successful Response" } - } + }, + "summary": "Api Status", + "tags": [ + "api" + ] } }, "/api/v1/build/": { "get": { - "tags": [ - "api" - ], - "summary": "Api List Builds", "operationId": "api_list_builds_api_v1_build__get", "parameters": [ { + "in": "query", + "name": "status", "required": false, "schema": { "$ref": "#/components/schemas/BuildStatus" - }, - "name": "status", - "in": "query" + } }, { + "in": "query", + "name": "packages", "required": false, "schema": { + "default": [], "items": { "type": "string" }, - "type": "array", "title": "Packages", - "default": [] - }, - "name": "packages", - "in": "query" + "type": "array" + } }, { + "in": "query", + "name": "artifact", "required": false, "schema": { "$ref": "#/components/schemas/BuildArtifactType" - }, - "name": "artifact", - "in": "query" + } }, { + "in": "query", + "name": "environment_id", "required": false, "schema": { - "type": "integer", - "title": "Environment Id" - }, - "name": "environment_id", - "in": "query" + "title": "Environment Id", + "type": "integer" + } }, { + "in": "query", + "name": "name", "required": false, "schema": { - "type": "string", - "title": "Name" - }, - "name": "name", - "in": "query" + "title": "Name", + "type": "string" + } }, { + "in": "query", + "name": "namespace", "required": false, "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "query" + "title": "Namespace", + "type": "string" + } }, { + "in": "query", + "name": "page", "required": false, "schema": { - "type": "integer", + "default": 1, "title": "Page", - "default": 1 - }, - "name": "page", - "in": "query" + "type": "integer" + } }, { + "in": "query", + "name": "order", "required": false, "schema": { - "type": "string", - "title": "Order" - }, - "name": "order", - "in": "query" + "title": "Order", + "type": "string" + } }, { + "in": "query", + "name": "size", "required": false, "schema": { - "type": "integer", - "title": "Size" - }, - "name": "size", - "in": "query" + "title": "Size", + "type": "integer" + } }, { + "in": "query", + "name": "sort_by", "required": false, "schema": { + "default": [], "items": { "type": "string" }, - "type": "array", "title": "Sort By", - "default": [] - }, - "name": "sort_by", - "in": "query" + "type": "array" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/APIListBuild" } } - } - }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } - } - } - } - }, - "/api/v1/build/{build_id}/": { - "get": { - "tags": [ - "api" - ], - "summary": "Api Get Build", - "operationId": "api_get_build_api_v1_build__build_id___get", - "parameters": [ - { - "required": true, - "schema": { - "type": "integer", - "title": "Build Id" }, - "name": "build_id", - "in": "path" - } - ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIGetBuild" - } - } - } + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } - } - } - }, - "put": { - "tags": [ - "api" - ], - "summary": "Api Put Build", - "operationId": "api_put_build_api_v1_build__build_id___put", - "parameters": [ - { - "required": true, - "schema": { - "type": "integer", - "title": "Build Id" }, - "name": "build_id", - "in": "path" - } - ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIPostSpecification" - } - } - } - }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } + "description": "Validation Error" } - } - }, - "delete": { + }, + "summary": "Api List Builds", "tags": [ "api" - ], - "summary": "Api Delete Build", + ] + } + }, + "/api/v1/build/{build_id}/": { + "delete": { "operationId": "api_delete_build_api_v1_build__build_id___delete", "parameters": [ { + "in": "path", + "name": "build_id", "required": true, "schema": { - "type": "integer", - "title": "Build Id" - }, - "name": "build_id", - "in": "path" + "title": "Build Id", + "type": "integer" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/APIAckResponse" } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } - } - }, - "/api/v1/build/{build_id}/cancel/": { - "put": { + }, + "summary": "Api Delete Build", "tags": [ "api" - ], - "summary": "Api Put Build Cancel", - "operationId": "api_put_build_cancel_api_v1_build__build_id__cancel__put", + ] + }, + "get": { + "operationId": "api_get_build_api_v1_build__build_id___get", "parameters": [ { + "in": "path", + "name": "build_id", "required": true, "schema": { - "type": "integer", - "title": "Build Id" - }, - "name": "build_id", - "in": "path" + "title": "Build Id", + "type": "integer" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIAckResponse" + "$ref": "#/components/schemas/APIGetBuild" } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } - } - }, - "/api/v1/build/{build_id}/packages/": { - "get": { + }, + "summary": "Api Get Build", "tags": [ "api" - ], - "summary": "Api Get Build Packages", - "operationId": "api_get_build_packages_api_v1_build__build_id__packages__get", + ] + }, + "put": { + "operationId": "api_put_build_api_v1_build__build_id___put", "parameters": [ { - "required": true, - "schema": { - "type": "integer", - "title": "Build Id" - }, + "in": "path", "name": "build_id", - "in": "path" - }, - { - "required": false, - "schema": { - "type": "string", - "title": "Search" - }, - "name": "search", - "in": "query" - }, - { - "required": false, - "schema": { - "type": "string", - "title": "Exact" - }, - "name": "exact", - "in": "query" - }, - { - "required": false, - "schema": { - "type": "string", - "title": "Build" - }, - "name": "build", - "in": "query" - }, - { - "required": false, - "schema": { - "type": "integer", - "title": "Page", - "default": 1 - }, - "name": "page", - "in": "query" - }, - { - "required": false, - "schema": { - "type": "string", - "title": "Order" - }, - "name": "order", - "in": "query" - }, - { - "required": false, - "schema": { - "type": "integer", - "title": "Size" - }, - "name": "size", - "in": "query" - }, - { - "required": false, + "required": true, "schema": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Sort By", - "default": [] - }, - "name": "sort_by", - "in": "query" + "title": "Build Id", + "type": "integer" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIListCondaPackage" + "$ref": "#/components/schemas/APIPostSpecification" } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } + }, + "summary": "Api Put Build", + "tags": [ + "api" + ] } }, - "/api/v1/build/{build_id}/logs/": { + "/api/v1/build/{build_id}/archive/": { "get": { - "tags": [ - "api" - ], - "summary": "Api Get Build Logs", - "operationId": "api_get_build_logs_api_v1_build__build_id__logs__get", + "operationId": "api_get_build_archive_api_v1_build__build_id__archive__get", "parameters": [ { + "in": "path", + "name": "build_id", "required": true, "schema": { - "type": "integer", - "title": "Build Id" - }, - "name": "build_id", - "in": "path" + "title": "Build Id", + "type": "integer" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { "schema": {} } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } - } - }, - "/api/v1/channel/": { - "get": { + }, + "summary": "Api Get Build Archive", "tags": [ "api" - ], - "summary": "Api List Channels", - "operationId": "api_list_channels_api_v1_channel__get", + ] + } + }, + "/api/v1/build/{build_id}/cancel/": { + "put": { + "operationId": "api_put_build_cancel_api_v1_build__build_id__cancel__put", "parameters": [ { - "required": false, - "schema": { - "type": "integer", - "title": "Page", - "default": 1 - }, - "name": "page", - "in": "query" - }, - { - "required": false, - "schema": { - "type": "string", - "title": "Order" - }, - "name": "order", - "in": "query" - }, - { - "required": false, - "schema": { - "type": "integer", - "title": "Size" - }, - "name": "size", - "in": "query" - }, - { - "required": false, + "in": "path", + "name": "build_id", + "required": true, "schema": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Sort By", - "default": [] - }, - "name": "sort_by", - "in": "query" + "title": "Build Id", + "type": "integer" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIListCondaChannel" + "$ref": "#/components/schemas/APIAckResponse" } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } + }, + "summary": "Api Put Build Cancel", + "tags": [ + "api" + ] } }, - "/api/v1/package/": { + "/api/v1/build/{build_id}/conda-lock.yaml": { "get": { - "tags": [ - "api" - ], - "summary": "Api List Packages", - "operationId": "api_list_packages_api_v1_package__get", + "operationId": "api_get_build_conda_lock_file_api_v1_build__build_id__conda_lock_yaml_get", "parameters": [ { - "required": false, - "schema": { - "type": "string", - "title": "Search" - }, - "name": "search", - "in": "query" - }, - { - "required": false, + "in": "path", + "name": "build_id", + "required": true, "schema": { - "type": "string", - "title": "Exact" - }, - "name": "exact", - "in": "query" + "title": "Build Id", + "type": "integer" + } }, { + "in": "query", + "name": "namespace", "required": false, "schema": { - "type": "string", - "title": "Build" - }, - "name": "build", - "in": "query" + "title": "Namespace", + "type": "string" + } }, { + "in": "query", + "name": "environment_name", "required": false, "schema": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Distinct On", - "default": [] + "title": "Environment Name", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "text/plain": { + "schema": { + "type": "string" + } + } }, - "name": "distinct_on", - "in": "query" + "description": "Successful Response" }, - { - "required": false, - "schema": { - "type": "integer", - "title": "Page", - "default": 1 + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } }, - "name": "page", - "in": "query" - }, + "description": "Validation Error" + } + }, + "summary": "Api Get Build Conda Lock File", + "tags": [ + "api" + ] + } + }, + "/api/v1/build/{build_id}/conda-lock.yml": { + "get": { + "operationId": "api_get_build_lockfile_api_v1_build__build_id__conda_lock_yml_get", + "parameters": [ { - "required": false, + "in": "path", + "name": "build_id", + "required": true, "schema": { - "type": "string", - "title": "Order" - }, - "name": "order", - "in": "query" + "title": "Build Id", + "type": "integer" + } }, { + "in": "query", + "name": "namespace", "required": false, "schema": { - "type": "integer", - "title": "Size" - }, - "name": "size", - "in": "query" + "title": "Namespace", + "type": "string" + } }, { + "in": "query", + "name": "environment_name", "required": false, "schema": { - "items": { - "type": "string" - }, - "type": "array", - "title": "Sort By", - "default": [] - }, - "name": "sort_by", - "in": "query" + "title": "Environment Name", + "type": "string" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { - "application/json": { + "text/plain": { "schema": { - "$ref": "#/components/schemas/APIListCondaPackage" + "type": "string" } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } + }, + "summary": "Api Get Build Lockfile", + "tags": [ + "api" + ] } }, - "/api/v1/build/{build_id}/yaml/": { + "/api/v1/build/{build_id}/docker/": { "get": { - "tags": [ - "api" - ], - "summary": "Api Get Build Yaml", - "operationId": "api_get_build_yaml_api_v1_build__build_id__yaml__get", + "operationId": "api_get_build_docker_image_url_api_v1_build__build_id__docker__get", "parameters": [ { + "in": "path", + "name": "build_id", "required": true, "schema": { - "type": "integer", - "title": "Build Id" - }, - "name": "build_id", - "in": "path" + "title": "Build Id", + "type": "integer" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { "schema": {} } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } + }, + "summary": "Api Get Build Docker Image Url", + "tags": [ + "api" + ] } }, - "/api/v1/build/{build_id}/lockfile/": { + "/api/v1/build/{build_id}/installer/": { "get": { - "tags": [ - "api" - ], - "summary": "Api Get Build Lockfile", - "operationId": "api_get_build_lockfile_api_v1_build__build_id__lockfile__get", + "operationId": "api_get_build_installer_api_v1_build__build_id__installer__get", "parameters": [ { - "required": true, - "schema": { - "type": "integer", - "title": "Build Id" - }, + "in": "path", "name": "build_id", - "in": "path" - }, - { - "required": false, - "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "query" - }, - { - "required": false, + "required": true, "schema": { - "type": "string", - "title": "Environment Name" - }, - "name": "environment_name", - "in": "query" + "title": "Build Id", + "type": "integer" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { - "text/plain": { - "schema": { - "type": "string" - } + "application/json": { + "schema": {} } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } + }, + "summary": "Api Get Build Installer", + "tags": [ + "api" + ] } }, - "/api/v1/build/{build_id}/conda-lock.yaml": { + "/api/v1/build/{build_id}/lockfile/": { "get": { - "tags": [ - "api" - ], - "summary": "Api Get Build Conda Lock File", - "operationId": "api_get_build_conda_lock_file_api_v1_build__build_id__conda_lock_yaml_get", + "operationId": "api_get_build_lockfile_api_v1_build__build_id__lockfile__get", "parameters": [ { + "in": "path", + "name": "build_id", "required": true, "schema": { - "type": "integer", - "title": "Build Id" - }, - "name": "build_id", - "in": "path" + "title": "Build Id", + "type": "integer" + } }, { + "in": "query", + "name": "namespace", "required": false, "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "query" + "title": "Namespace", + "type": "string" + } }, { + "in": "query", + "name": "environment_name", "required": false, "schema": { - "type": "string", - "title": "Environment Name" - }, - "name": "environment_name", - "in": "query" + "title": "Environment Name", + "type": "string" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "text/plain": { "schema": { "type": "string" } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } + }, + "summary": "Api Get Build Lockfile", + "tags": [ + "api" + ] } }, - "/api/v1/build/{build_id}/conda-lock.yml": { + "/api/v1/build/{build_id}/logs/": { "get": { - "tags": [ - "api" - ], - "summary": "Api Get Build Lockfile", - "operationId": "api_get_build_lockfile_api_v1_build__build_id__conda_lock_yml_get", + "operationId": "api_get_build_logs_api_v1_build__build_id__logs__get", "parameters": [ { - "required": true, - "schema": { - "type": "integer", - "title": "Build Id" - }, + "in": "path", "name": "build_id", - "in": "path" - }, - { - "required": false, - "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "query" - }, - { - "required": false, + "required": true, "schema": { - "type": "string", - "title": "Environment Name" - }, - "name": "environment_name", - "in": "query" + "title": "Build Id", + "type": "integer" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { - "text/plain": { - "schema": { - "type": "string" - } + "application/json": { + "schema": {} } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } + }, + "summary": "Api Get Build Logs", + "tags": [ + "api" + ] } }, - "/api/v1/environment/{namespace}/{environment_name}/lockfile/": { + "/api/v1/build/{build_id}/packages/": { "get": { - "tags": [ - "api" - ], - "summary": "Api Get Build Lockfile", - "operationId": "api_get_build_lockfile_api_v1_environment__namespace___environment_name__lockfile__get", + "operationId": "api_get_build_packages_api_v1_build__build_id__packages__get", "parameters": [ { + "in": "path", + "name": "build_id", "required": true, "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "path" + "title": "Build Id", + "type": "integer" + } }, { - "required": true, + "in": "query", + "name": "search", + "required": false, "schema": { - "type": "string", - "title": "Environment Name" - }, - "name": "environment_name", - "in": "path" + "title": "Search", + "type": "string" + } }, { + "in": "query", + "name": "exact", "required": false, "schema": { - "type": "integer", - "title": "Build Id" - }, - "name": "build_id", - "in": "query" + "title": "Exact", + "type": "string" + } + }, + { + "in": "query", + "name": "build", + "required": false, + "schema": { + "title": "Build", + "type": "string" + } + }, + { + "in": "query", + "name": "page", + "required": false, + "schema": { + "default": 1, + "title": "Page", + "type": "integer" + } + }, + { + "in": "query", + "name": "order", + "required": false, + "schema": { + "title": "Order", + "type": "string" + } + }, + { + "in": "query", + "name": "size", + "required": false, + "schema": { + "title": "Size", + "type": "integer" + } + }, + { + "in": "query", + "name": "sort_by", + "required": false, + "schema": { + "default": [], + "items": { + "type": "string" + }, + "title": "Sort By", + "type": "array" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { - "text/plain": { + "application/json": { "schema": { - "type": "string" + "$ref": "#/components/schemas/APIListCondaPackage" } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } + }, + "summary": "Api Get Build Packages", + "tags": [ + "api" + ] } }, - "/api/v1/environment/{namespace}/{environment_name}/conda-lock.yaml": { + "/api/v1/build/{build_id}/yaml/": { "get": { - "tags": [ - "api" - ], - "summary": "Api Get Build Lockfile", - "operationId": "api_get_build_lockfile_api_v1_environment__namespace___environment_name__conda_lock_yaml_get", + "operationId": "api_get_build_yaml_api_v1_build__build_id__yaml__get", "parameters": [ { + "in": "path", + "name": "build_id", "required": true, "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "path" - }, - { - "required": true, - "schema": { - "type": "string", - "title": "Environment Name" - }, - "name": "environment_name", - "in": "path" - }, - { - "required": false, - "schema": { - "type": "integer", - "title": "Build Id" - }, - "name": "build_id", - "in": "query" + "title": "Build Id", + "type": "integer" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { - "text/plain": { - "schema": { - "type": "string" - } + "application/json": { + "schema": {} } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } + }, + "summary": "Api Get Build Yaml", + "tags": [ + "api" + ] } }, - "/api/v1/environment/{namespace}/{environment_name}/conda-lock.yml": { + "/api/v1/channel/": { "get": { - "tags": [ - "api" - ], - "summary": "Api Get Build Lockfile", - "operationId": "api_get_build_lockfile_api_v1_environment__namespace___environment_name__conda_lock_yml_get", + "operationId": "api_list_channels_api_v1_channel__get", "parameters": [ { - "required": true, + "in": "query", + "name": "page", + "required": false, "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "path" + "default": 1, + "title": "Page", + "type": "integer" + } }, { - "required": true, + "in": "query", + "name": "order", + "required": false, "schema": { - "type": "string", - "title": "Environment Name" - }, - "name": "environment_name", - "in": "path" + "title": "Order", + "type": "string" + } }, { + "in": "query", + "name": "size", "required": false, "schema": { - "type": "integer", - "title": "Build Id" - }, - "name": "build_id", - "in": "query" + "title": "Size", + "type": "integer" + } + }, + { + "in": "query", + "name": "sort_by", + "required": false, + "schema": { + "default": [], + "items": { + "type": "string" + }, + "title": "Sort By", + "type": "array" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { - "text/plain": { + "application/json": { "schema": { - "type": "string" + "$ref": "#/components/schemas/APIListCondaChannel" } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } + }, + "summary": "Api List Channels", + "tags": [ + "api" + ] } }, - "/api/v1/build/{build_id}/archive/": { + "/api/v1/environment/": { "get": { - "tags": [ - "api" - ], - "summary": "Api Get Build Archive", - "operationId": "api_get_build_archive_api_v1_build__build_id__archive__get", + "description": "Retrieve a list of environments.\n\nParameters\n----------\nauth : Authentication\n Authentication instance for the request. Used to get role bindings\n and filter environments returned to those visible by the user making\n the request\nentity : AuthenticationToken\n Token of the user making the request\npaginated_args : PaginatedArgs\n Arguments for controlling pagination of the response\nconda_store : app.CondaStore\n The running conda store application\nsearch : Optional[str]\n If specified, filter by environment names or namespace names containing the\n search term\nnamespace : Optional[str]\n If specified, filter by environments in the given namespace\nname : Optional[str]\n If specified, filter by environments with the given name\nstatus : Optional[schema.BuildStatus]\n If specified, filter by environments with the given status\npackages : Optional[List[str]]\n If specified, filter by environments containing the given package name(s)\nartifact : Optional[schema.BuildArtifactType]\n If specified, filter by environments with the given BuildArtifactType\njwt : Optional[schema.AuthenticationToken]\n If specified, retrieve only the environments accessible to this token; that is,\n only return environments that the user has 'admin', 'editor', and 'viewer'\n role bindings for.\n\nReturns\n-------\nDict\n Paginated JSON response containing the requested environments", + "operationId": "api_list_environments_api_v1_environment__get", "parameters": [ { - "required": true, + "in": "query", + "name": "artifact", + "required": false, + "schema": { + "$ref": "#/components/schemas/BuildArtifactType" + } + }, + { + "in": "query", + "name": "jwt", + "required": false, + "schema": { + "title": "Jwt", + "type": "string" + } + }, + { + "in": "query", + "name": "name", + "required": false, + "schema": { + "title": "Name", + "type": "string" + } + }, + { + "in": "query", + "name": "namespace", + "required": false, + "schema": { + "title": "Namespace", + "type": "string" + } + }, + { + "in": "query", + "name": "packages", + "required": false, + "schema": { + "default": [], + "items": { + "type": "string" + }, + "title": "Packages", + "type": "array" + } + }, + { + "in": "query", + "name": "search", + "required": false, + "schema": { + "title": "Search", + "type": "string" + } + }, + { + "in": "query", + "name": "status", + "required": false, "schema": { - "type": "integer", - "title": "Build Id" - }, - "name": "build_id", - "in": "path" - } - ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": {} - } + "$ref": "#/components/schemas/BuildStatus" } }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } + { + "in": "query", + "name": "page", + "required": false, + "schema": { + "default": 1, + "title": "Page", + "type": "integer" } - } - } - } - }, - "/api/v1/build/{build_id}/docker/": { - "get": { - "tags": [ - "api" - ], - "summary": "Api Get Build Docker Image Url", - "operationId": "api_get_build_docker_image_url_api_v1_build__build_id__docker__get", - "parameters": [ + }, { - "required": true, + "in": "query", + "name": "order", + "required": false, "schema": { - "type": "integer", - "title": "Build Id" - }, - "name": "build_id", - "in": "path" - } - ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": {} - } + "title": "Order", + "type": "string" } }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } + { + "in": "query", + "name": "size", + "required": false, + "schema": { + "title": "Size", + "type": "integer" } - } - } - } - }, - "/api/v1/build/{build_id}/installer/": { - "get": { - "tags": [ - "api" - ], - "summary": "Api Get Build Installer", - "operationId": "api_get_build_installer_api_v1_build__build_id__installer__get", - "parameters": [ + }, { - "required": true, + "in": "query", + "name": "sort_by", + "required": false, "schema": { - "type": "integer", - "title": "Build Id" - }, - "name": "build_id", - "in": "path" + "default": [], + "items": { + "type": "string" + }, + "title": "Sort By", + "type": "array" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { - "schema": {} + "schema": { + "$ref": "#/components/schemas/APIListEnvironment" + } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } + }, + "summary": "Api List Environments", + "tags": [ + "api" + ] } }, - "/api/v1/setting/{namespace}/{environment_name}/": { + "/api/v1/environment/{namespace}/{environment_name}/": { "get": { - "tags": [ - "api" - ], - "summary": "Api Get Settings", - "operationId": "api_get_settings_api_v1_setting__namespace___environment_name___get", + "operationId": "api_get_environment_api_v1_environment__namespace___environment_name___get", "parameters": [ { + "in": "path", + "name": "namespace", "required": true, "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "path" + "title": "Namespace", + "type": "string" + } }, { + "in": "path", + "name": "environment_name", "required": true, "schema": { - "type": "string", - "title": "Environment Name" - }, - "name": "environment_name", - "in": "path" + "title": "Environment Name", + "type": "string" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIGetSetting" + "$ref": "#/components/schemas/APIGetEnvironment" } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } - }, - "put": { + }, + "summary": "Api Get Environment", "tags": [ "api" - ], - "summary": "Api Put Settings", - "operationId": "api_put_settings_api_v1_setting__namespace___environment_name___put", + ] + } + }, + "/api/v1/environment/{namespace}/{environment_name}/conda-lock.yaml": { + "get": { + "operationId": "api_get_build_lockfile_api_v1_environment__namespace___environment_name__conda_lock_yaml_get", "parameters": [ { + "in": "path", + "name": "namespace", "required": true, "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "path" + "title": "Namespace", + "type": "string" + } }, { + "in": "path", + "name": "environment_name", "required": true, "schema": { - "type": "string", - "title": "Environment Name" - }, - "name": "environment_name", - "in": "path" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "title": "Data" - } + "title": "Environment Name", + "type": "string" } }, - "required": true - }, + { + "in": "query", + "name": "build_id", + "required": false, + "schema": { + "title": "Build Id", + "type": "integer" + } + } + ], "responses": { "200": { - "description": "Successful Response", "content": { - "application/json": { + "text/plain": { "schema": { - "$ref": "#/components/schemas/APIPutSetting" + "type": "string" } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } + }, + "summary": "Api Get Build Lockfile", + "tags": [ + "api" + ] } }, - "/api/v1/setting/{namespace}/": { + "/api/v1/environment/{namespace}/{environment_name}/conda-lock.yml": { "get": { - "tags": [ - "api" - ], - "summary": "Api Get Settings", - "operationId": "api_get_settings_api_v1_setting__namespace___get", + "operationId": "api_get_build_lockfile_api_v1_environment__namespace___environment_name__conda_lock_yml_get", "parameters": [ { + "in": "path", + "name": "namespace", "required": true, "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "path" + "title": "Namespace", + "type": "string" + } + }, + { + "in": "path", + "name": "environment_name", + "required": true, + "schema": { + "title": "Environment Name", + "type": "string" + } }, { + "in": "query", + "name": "build_id", "required": false, "schema": { - "type": "string", - "title": "Environment Name" - }, - "name": "environment_name", - "in": "query" + "title": "Build Id", + "type": "integer" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { - "application/json": { + "text/plain": { "schema": { - "$ref": "#/components/schemas/APIGetSetting" + "type": "string" } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } - }, - "put": { + }, + "summary": "Api Get Build Lockfile", "tags": [ "api" - ], - "summary": "Api Put Settings", - "operationId": "api_put_settings_api_v1_setting__namespace___put", + ] + } + }, + "/api/v1/environment/{namespace}/{environment_name}/lockfile/": { + "get": { + "operationId": "api_get_build_lockfile_api_v1_environment__namespace___environment_name__lockfile__get", "parameters": [ { + "in": "path", + "name": "namespace", "required": true, "schema": { - "type": "string", - "title": "Namespace" - }, - "name": "namespace", - "in": "path" + "title": "Namespace", + "type": "string" + } + }, + { + "in": "path", + "name": "environment_name", + "required": true, + "schema": { + "title": "Environment Name", + "type": "string" + } }, { + "in": "query", + "name": "build_id", "required": false, "schema": { - "type": "string", - "title": "Environment Name" - }, - "name": "environment_name", - "in": "query" + "title": "Build Id", + "type": "integer" + } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "title": "Data" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Successful Response", "content": { - "application/json": { + "text/plain": { "schema": { - "$ref": "#/components/schemas/APIPutSetting" + "type": "string" } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } - } - }, - "/api/v1/setting/": { - "get": { + }, + "summary": "Api Get Build Lockfile", "tags": [ "api" - ], - "summary": "Api Get Settings", - "operationId": "api_get_settings_api_v1_setting__get", + ] + } + }, + "/api/v1/environment/{namespace}/{name}/": { + "delete": { + "operationId": "api_delete_environment_api_v1_environment__namespace___name___delete", "parameters": [ { - "required": false, - "schema": { - "type": "string", - "title": "Namespace" - }, + "in": "path", "name": "namespace", - "in": "query" + "required": true, + "schema": { + "title": "Namespace", + "type": "string" + } }, { - "required": false, + "in": "path", + "name": "name", + "required": true, "schema": { - "type": "string", - "title": "Environment Name" - }, - "name": "environment_name", - "in": "query" + "title": "Name", + "type": "string" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIGetSetting" + "$ref": "#/components/schemas/APIAckResponse" } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } - }, - "put": { + }, + "summary": "Api Delete Environment", "tags": [ "api" - ], - "summary": "Api Put Settings", - "operationId": "api_put_settings_api_v1_setting__put", + ] + }, + "put": { + "operationId": "api_update_environment_build_api_v1_environment__namespace___name___put", "parameters": [ { - "required": false, - "schema": { - "type": "string", - "title": "Namespace" - }, + "in": "path", "name": "namespace", - "in": "query" + "required": true, + "schema": { + "title": "Namespace", + "type": "string" + } }, { - "required": false, + "in": "path", + "name": "name", + "required": true, "schema": { - "type": "string", - "title": "Environment Name" - }, - "name": "environment_name", - "in": "query" + "title": "Name", + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "type": "object", - "title": "Data" + "$ref": "#/components/schemas/Body_api_update_environment_build_api_v1_environment__namespace___name___put" } } - }, - "required": true + } }, "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIPutSetting" + "$ref": "#/components/schemas/APIAckResponse" } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } - } - }, - "/v2/": { - "get": { + }, + "summary": "Api Update Environment Build", "tags": [ - "registry" - ], - "summary": "V2", - "operationId": "v2_v2__get", - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": {} - } - } - } - } + "api" + ] } }, - "/v2/{rest}": { + "/api/v1/namespace/": { "get": { - "tags": [ - "registry" - ], - "summary": "List Tags", - "operationId": "list_tags_v2__rest__get", + "operationId": "api_list_namespaces_api_v1_namespace__get", "parameters": [ { - "required": true, + "in": "query", + "name": "page", + "required": false, "schema": { - "type": "string", - "title": "Rest" - }, - "name": "rest", - "in": "path" + "default": 1, + "title": "Page", + "type": "integer" + } + }, + { + "in": "query", + "name": "order", + "required": false, + "schema": { + "title": "Order", + "type": "string" + } + }, + { + "in": "query", + "name": "size", + "required": false, + "schema": { + "title": "Size", + "type": "integer" + } + }, + { + "in": "query", + "name": "sort_by", + "required": false, + "schema": { + "default": [], + "items": { + "type": "string" + }, + "title": "Sort By", + "type": "array" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { - "schema": {} + "schema": { + "$ref": "#/components/schemas/APIListNamespace" + } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } - } - }, - "/admin/create/": { - "get": { + }, + "summary": "Api List Namespaces", "tags": [ - "ui" - ], - "summary": "Ui Create Get Environment", - "operationId": "ui_create_get_environment_admin_create__get", - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": {} - } - } - } - } + "api" + ] } }, - "/admin/": { - "get": { - "tags": [ - "ui" - ], - "summary": "Ui List Environments", - "operationId": "ui_list_environments_admin__get", + "/api/v1/namespace/{namespace}/": { + "delete": { + "operationId": "api_delete_namespace_api_v1_namespace__namespace___delete", "parameters": [ { - "required": false, + "in": "path", + "name": "namespace", + "required": true, "schema": { - "type": "string", - "title": "Search" - }, - "name": "search", - "in": "query" + "title": "Namespace", + "type": "string" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { - "schema": {} + "schema": { + "$ref": "#/components/schemas/APIAckResponse" + } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } - } - }, - "/admin/namespace/": { - "get": { + }, + "summary": "Api Delete Namespace", "tags": [ - "ui" - ], - "summary": "Ui List Namespaces", - "operationId": "ui_list_namespaces_admin_namespace__get", - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": {} - } - } - } - } - } - }, - "/admin/environment/{namespace}/{environment_name}/": { + "api" + ] + }, "get": { - "tags": [ - "ui" - ], - "summary": "Ui Get Environment", - "operationId": "ui_get_environment_admin_environment__namespace___environment_name___get", + "operationId": "api_get_namespace_api_v1_namespace__namespace___get", "parameters": [ { - "required": true, - "schema": { - "type": "string", - "title": "Namespace" - }, + "in": "path", "name": "namespace", - "in": "path" - }, - { "required": true, "schema": { - "type": "string", - "title": "Environment Name" - }, - "name": "environment_name", - "in": "path" + "title": "Namespace", + "type": "string" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { - "schema": {} + "schema": { + "$ref": "#/components/schemas/APIGetNamespace" + } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } - } - }, - "/admin/environment/{namespace}/{environment_name}/edit/": { - "get": { + }, + "summary": "Api Get Namespace", "tags": [ - "ui" - ], - "summary": "Ui Edit Environment", - "operationId": "ui_edit_environment_admin_environment__namespace___environment_name__edit__get", + "api" + ] + }, + "post": { + "operationId": "api_create_namespace_api_v1_namespace__namespace___post", "parameters": [ { - "required": true, - "schema": { - "type": "string", - "title": "Namespace" - }, + "in": "path", "name": "namespace", - "in": "path" - }, - { "required": true, "schema": { - "type": "string", - "title": "Environment Name" - }, - "name": "environment_name", - "in": "path" + "title": "Namespace", + "type": "string" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { - "schema": {} + "schema": { + "$ref": "#/components/schemas/APIAckResponse" + } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } - } - }, - "/admin/build/{build_id}/": { - "get": { + }, + "summary": "Api Create Namespace", "tags": [ - "ui" - ], - "summary": "Ui Get Build", - "operationId": "ui_get_build_admin_build__build_id___get", + "api" + ] + }, + "put": { + "operationId": "api_update_namespace_api_v1_namespace__namespace___put", "parameters": [ { + "in": "path", + "name": "namespace", "required": true, "schema": { - "type": "integer", - "title": "Build Id" - }, - "name": "build_id", - "in": "path" + "title": "Namespace", + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Body_api_update_namespace_api_v1_namespace__namespace___put" + } + } + } + }, "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { - "schema": {} + "schema": { + "$ref": "#/components/schemas/APIAckResponse" + } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } - } - }, - "/admin/user/": { - "get": { + }, + "summary": "Api Update Namespace", "tags": [ - "ui" - ], - "summary": "Ui Get User", - "operationId": "ui_get_user_admin_user__get", - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": {} - } - } - } - } + "api" + ] } }, - "/admin/setting/{namespace}/{environment_name}/": { - "get": { - "tags": [ - "ui" - ], - "summary": "Ui Get Setting", - "operationId": "ui_get_setting_admin_setting__namespace___environment_name___get", + "/api/v1/namespace/{namespace}/metadata": { + "put": { + "operationId": "api_update_namespace_metadata_api_v1_namespace__namespace__metadata_put", "parameters": [ { - "required": true, - "schema": { - "type": "string", - "title": "Namespace" - }, + "in": "path", "name": "namespace", - "in": "path" - }, - { "required": true, "schema": { - "type": "string", - "title": "Environment Name" - }, - "name": "environment_name", - "in": "path" + "title": "Namespace", + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "title": "Metadata", + "type": "object" + } + } + } + }, "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { - "schema": {} + "schema": { + "$ref": "#/components/schemas/APIAckResponse" + } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } + }, + "summary": "Api Update Namespace Metadata", + "tags": [ + "api" + ] } }, - "/admin/setting/{namespace}/": { - "get": { - "tags": [ - "ui" - ], - "summary": "Ui Get Setting", - "operationId": "ui_get_setting_admin_setting__namespace___get", + "/api/v1/namespace/{namespace}/role": { + "delete": { + "operationId": "api_delete_namespace_role_api_v1_namespace__namespace__role_delete", "parameters": [ { - "required": true, - "schema": { - "type": "string", - "title": "Namespace" - }, + "in": "path", "name": "namespace", - "in": "path" - }, - { - "required": false, + "required": true, "schema": { - "type": "string", - "title": "Environment Name" - }, - "name": "environment_name", - "in": "query" + "title": "Namespace", + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIDeleteNamespaceRole" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { - "schema": {} + "schema": { + "$ref": "#/components/schemas/APIAckResponse" + } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } - } - }, - "/admin/setting/": { - "get": { + }, + "summary": "Api Delete Namespace Role", "tags": [ - "ui" - ], - "summary": "Ui Get Setting", - "operationId": "ui_get_setting_admin_setting__get", + "api" + ] + }, + "get": { + "operationId": "api_get_namespace_role_api_v1_namespace__namespace__role_get", "parameters": [ { - "required": false, - "schema": { - "type": "string", - "title": "Namespace" - }, + "in": "path", "name": "namespace", - "in": "query" + "required": true, + "schema": { + "title": "Namespace", + "type": "string" + } }, { - "required": false, + "in": "query", + "name": "other_namespace", + "required": true, "schema": { - "type": "string", - "title": "Environment Name" - }, - "name": "environment_name", - "in": "query" + "title": "Other Namespace", + "type": "string" + } } ], "responses": { "200": { - "description": "Successful Response", "content": { "application/json": { - "schema": {} + "schema": { + "$ref": "#/components/schemas/APIResponse" + } } - } + }, + "description": "Successful Response" }, "422": { - "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - } + }, + "description": "Validation Error" } - } - } - }, - "/": { - "get": { + }, + "summary": "Api Get Namespace Role", "tags": [ - "conda-store-ui" - ], - "summary": "Get Conda Store Ui", - "operationId": "get_conda_store_ui__get", - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": {} - } + "api" + ] + }, + "post": { + "operationId": "api_create_namespace_role_api_v1_namespace__namespace__role_post", + "parameters": [ + { + "in": "path", + "name": "namespace", + "required": true, + "schema": { + "title": "Namespace", + "type": "string" } } - } - } - }, - "/metrics": { - "get": { - "tags": [ - "metrics" ], - "summary": "Prometheus Metrics", - "operationId": "prometheus_metrics_metrics_get", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIPostNamespaceRole" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Successful Response", "content": { - "text/plain": { + "application/json": { "schema": { - "type": "string" + "$ref": "#/components/schemas/APIAckResponse" } } - } - } - } - } - }, - "/celery": { - "get": { - "tags": [ - "metrics" - ], - "summary": "Trigger Task", - "operationId": "trigger_task_celery_get", - "responses": { - "200": { - "description": "Successful Response", + }, + "description": "Successful Response" + }, + "422": { "content": { "application/json": { - "schema": {} + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } - } - } - } - } - } - }, - "components": { - "schemas": { - "APIAckResponse": { - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" - }, - "message": { - "type": "string", - "title": "Message" + }, + "description": "Validation Error" } }, - "type": "object", - "required": [ - "status" - ], - "title": "APIAckResponse" + "summary": "Api Create Namespace Role", + "tags": [ + "api" + ] }, - "APIDeleteNamespaceRole": { - "properties": { - "other_namespace": { - "type": "string", - "title": "Other Namespace" + "put": { + "operationId": "api_update_namespace_role_api_v1_namespace__namespace__role_put", + "parameters": [ + { + "in": "path", + "name": "namespace", + "required": true, + "schema": { + "title": "Namespace", + "type": "string" + } } - }, - "type": "object", - "required": [ - "other_namespace" ], - "title": "APIDeleteNamespaceRole" - }, - "APIGetBuild": { - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIPutNamespaceRole" + } + } }, - "data": { - "$ref": "#/components/schemas/Build" + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIAckResponse" + } + } + }, + "description": "Successful Response" }, - "message": { - "type": "string", - "title": "Message" + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "Validation Error" } }, - "type": "object", - "required": [ - "status", - "data" + "summary": "Api Update Namespace Role", + "tags": [ + "api" + ] + } + }, + "/api/v1/namespace/{namespace}/roles": { + "delete": { + "operationId": "api_delete_namespace_roles_api_v1_namespace__namespace__roles_delete", + "parameters": [ + { + "in": "path", + "name": "namespace", + "required": true, + "schema": { + "title": "Namespace", + "type": "string" + } + } ], - "title": "APIGetBuild" - }, - "APIGetEnvironment": { - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" - }, - "data": { - "$ref": "#/components/schemas/Environment" + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIAckResponse" + } + } + }, + "description": "Successful Response" }, - "message": { - "type": "string", - "title": "Message" + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "Validation Error" } }, - "type": "object", - "required": [ - "status", - "data" - ], - "title": "APIGetEnvironment" + "summary": "Api Delete Namespace Roles", + "tags": [ + "api" + ] }, - "APIGetNamespace": { - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" - }, - "data": { - "$ref": "#/components/schemas/Namespace" - }, - "message": { - "type": "string", - "title": "Message" + "get": { + "operationId": "api_get_namespace_roles_api_v1_namespace__namespace__roles_get", + "parameters": [ + { + "in": "path", + "name": "namespace", + "required": true, + "schema": { + "title": "Namespace", + "type": "string" + } } - }, - "type": "object", - "required": [ - "status", - "data" ], - "title": "APIGetNamespace" - }, - "APIGetPermission": { - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" - }, - "data": { - "$ref": "#/components/schemas/APIGetPermissionData" + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIResponse" + } + } + }, + "description": "Successful Response" }, - "message": { - "type": "string", - "title": "Message" + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "Validation Error" } }, - "type": "object", - "required": [ - "status", - "data" - ], - "title": "APIGetPermission" - }, - "APIGetPermissionData": { - "properties": { - "authenticated": { - "type": "boolean", - "title": "Authenticated" + "summary": "Api Get Namespace Roles", + "tags": [ + "api" + ] + } + }, + "/api/v1/package/": { + "get": { + "operationId": "api_list_packages_api_v1_package__get", + "parameters": [ + { + "in": "query", + "name": "search", + "required": false, + "schema": { + "title": "Search", + "type": "string" + } }, - "primary_namespace": { - "type": "string", - "title": "Primary Namespace" + { + "in": "query", + "name": "exact", + "required": false, + "schema": { + "title": "Exact", + "type": "string" + } }, - "entity_permissions": { - "additionalProperties": { - "items": { - "type": "string" - }, - "type": "array" - }, - "type": "object", - "title": "Entity Permissions" + { + "in": "query", + "name": "build", + "required": false, + "schema": { + "title": "Build", + "type": "string" + } }, - "entity_roles": { - "additionalProperties": { + { + "in": "query", + "name": "distinct_on", + "required": false, + "schema": { + "default": [], "items": { "type": "string" }, + "title": "Distinct On", "type": "array" - }, - "type": "object", - "title": "Entity Roles" - }, - "expiration": { - "type": "string", - "format": "date-time", - "title": "Expiration" - } - }, - "type": "object", - "required": [ - "authenticated", - "primary_namespace", - "entity_permissions", - "entity_roles" - ], - "title": "APIGetPermissionData" - }, - "APIGetSetting": { - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" - }, - "data": { - "type": "object", - "title": "Data" - }, - "message": { - "type": "string", - "title": "Message" - } - }, - "type": "object", - "required": [ - "status", - "data" - ], - "title": "APIGetSetting" - }, - "APIGetSpecificationFormat": { - "enum": [ - "yaml", - "lockfile" - ], - "title": "APIGetSpecificationFormat", - "description": "An enumeration." - }, - "APIGetStatus": { - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" + } }, - "data": { - "$ref": "#/components/schemas/APIGetStatusData" + { + "in": "query", + "name": "page", + "required": false, + "schema": { + "default": 1, + "title": "Page", + "type": "integer" + } }, - "message": { - "type": "string", - "title": "Message" - } - }, - "type": "object", - "required": [ - "status", - "data" - ], - "title": "APIGetStatus" - }, - "APIGetStatusData": { - "properties": { - "version": { - "type": "string", - "title": "Version" - } - }, - "type": "object", - "required": [ - "version" - ], - "title": "APIGetStatusData" - }, - "APIGetUsage": { - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" + { + "in": "query", + "name": "order", + "required": false, + "schema": { + "title": "Order", + "type": "string" + } }, - "data": { - "additionalProperties": { - "type": "object" - }, - "type": "object", - "title": "Data" + { + "in": "query", + "name": "size", + "required": false, + "schema": { + "title": "Size", + "type": "integer" + } }, - "message": { - "type": "string", - "title": "Message" + { + "in": "query", + "name": "sort_by", + "required": false, + "schema": { + "default": [], + "items": { + "type": "string" + }, + "title": "Sort By", + "type": "array" + } } - }, - "type": "object", - "required": [ - "status", - "data" ], - "title": "APIGetUsage" - }, - "APIListBuild": { - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" - }, - "data": { - "items": { - "$ref": "#/components/schemas/Build" + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIListCondaPackage" + } + } }, - "type": "array", - "title": "Data" - }, - "message": { - "type": "string", - "title": "Message" - }, - "page": { - "type": "integer", - "title": "Page" - }, - "size": { - "type": "integer", - "title": "Size" + "description": "Successful Response" }, - "count": { - "type": "integer", - "title": "Count" + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "Validation Error" } }, - "type": "object", - "required": [ - "status", - "data", - "page", - "size", - "count" - ], - "title": "APIListBuild" - }, - "APIListCondaChannel": { - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" - }, - "data": { - "items": { - "$ref": "#/components/schemas/CondaChannel" + "summary": "Api List Packages", + "tags": [ + "api" + ] + } + }, + "/api/v1/permission/": { + "get": { + "operationId": "api_get_permissions_api_v1_permission__get", + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIGetPermission" + } + } }, - "type": "array", - "title": "Data" - }, - "message": { - "type": "string", - "title": "Message" - }, - "page": { - "type": "integer", - "title": "Page" - }, - "size": { - "type": "integer", - "title": "Size" - }, - "count": { - "type": "integer", - "title": "Count" + "description": "Successful Response" } }, - "type": "object", - "required": [ - "status", - "data", - "page", - "size", - "count" - ], - "title": "APIListCondaChannel" - }, - "APIListCondaPackage": { - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" + "summary": "Api Get Permissions", + "tags": [ + "api" + ] + } + }, + "/api/v1/setting/": { + "get": { + "operationId": "api_get_settings_api_v1_setting__get", + "parameters": [ + { + "in": "query", + "name": "namespace", + "required": false, + "schema": { + "title": "Namespace", + "type": "string" + } }, - "data": { - "items": { - "$ref": "#/components/schemas/CondaPackage" + { + "in": "query", + "name": "environment_name", + "required": false, + "schema": { + "title": "Environment Name", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIGetSetting" + } + } }, - "type": "array", - "title": "Data" - }, - "message": { - "type": "string", - "title": "Message" - }, - "page": { - "type": "integer", - "title": "Page" + "description": "Successful Response" }, - "size": { - "type": "integer", - "title": "Size" - }, - "count": { - "type": "integer", - "title": "Count" + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "Validation Error" } }, - "type": "object", - "required": [ - "status", - "data", - "page", - "size", - "count" - ], - "title": "APIListCondaPackage" + "summary": "Api Get Settings", + "tags": [ + "api" + ] }, - "APIListEnvironment": { - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" - }, - "data": { - "items": { - "$ref": "#/components/schemas/Environment" - }, - "type": "array", - "title": "Data" - }, - "message": { - "type": "string", - "title": "Message" - }, - "page": { - "type": "integer", - "title": "Page" - }, - "size": { - "type": "integer", - "title": "Size" + "put": { + "operationId": "api_put_settings_api_v1_setting__put", + "parameters": [ + { + "in": "query", + "name": "namespace", + "required": false, + "schema": { + "title": "Namespace", + "type": "string" + } }, - "count": { - "type": "integer", - "title": "Count" + { + "in": "query", + "name": "environment_name", + "required": false, + "schema": { + "title": "Environment Name", + "type": "string" + } } - }, - "type": "object", - "required": [ - "status", - "data", - "page", - "size", - "count" ], - "title": "APIListEnvironment" - }, - "APIListNamespace": { - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" + "requestBody": { + "content": { + "application/json": { + "schema": { + "title": "Data", + "type": "object" + } + } }, - "data": { - "items": { - "$ref": "#/components/schemas/Namespace" + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIPutSetting" + } + } }, - "type": "array", - "title": "Data" - }, - "message": { - "type": "string", - "title": "Message" - }, - "page": { - "type": "integer", - "title": "Page" - }, - "size": { - "type": "integer", - "title": "Size" + "description": "Successful Response" }, - "count": { - "type": "integer", - "title": "Count" + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "Validation Error" } }, - "type": "object", - "required": [ - "status", - "data", - "page", - "size", - "count" - ], - "title": "APIListNamespace" - }, - "APIPostNamespaceRole": { - "properties": { - "other_namespace": { - "type": "string", - "title": "Other Namespace" + "summary": "Api Put Settings", + "tags": [ + "api" + ] + } + }, + "/api/v1/setting/{namespace}/": { + "get": { + "operationId": "api_get_settings_api_v1_setting__namespace___get", + "parameters": [ + { + "in": "path", + "name": "namespace", + "required": true, + "schema": { + "title": "Namespace", + "type": "string" + } }, - "role": { - "type": "string", - "title": "Role" + { + "in": "query", + "name": "environment_name", + "required": false, + "schema": { + "title": "Environment Name", + "type": "string" + } } - }, - "type": "object", - "required": [ - "other_namespace", - "role" ], - "title": "APIPostNamespaceRole" - }, - "APIPostSpecification": { - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" - }, - "data": { - "$ref": "#/components/schemas/APIPostSpecificationData" + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIGetSetting" + } + } + }, + "description": "Successful Response" }, - "message": { - "type": "string", - "title": "Message" + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "Validation Error" } }, - "type": "object", - "required": [ - "status", - "data" - ], - "title": "APIPostSpecification" + "summary": "Api Get Settings", + "tags": [ + "api" + ] }, - "APIPostSpecificationData": { - "properties": { - "build_id": { - "type": "integer", - "title": "Build Id" + "put": { + "operationId": "api_put_settings_api_v1_setting__namespace___put", + "parameters": [ + { + "in": "path", + "name": "namespace", + "required": true, + "schema": { + "title": "Namespace", + "type": "string" + } + }, + { + "in": "query", + "name": "environment_name", + "required": false, + "schema": { + "title": "Environment Name", + "type": "string" + } } - }, - "type": "object", - "required": [ - "build_id" ], - "title": "APIPostSpecificationData" - }, - "APIPostToken": { - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" - }, - "data": { - "$ref": "#/components/schemas/APIPostTokenData" + "requestBody": { + "content": { + "application/json": { + "schema": { + "title": "Data", + "type": "object" + } + } }, - "message": { - "type": "string", - "title": "Message" - } + "required": true }, - "type": "object", - "required": [ - "status", - "data" - ], - "title": "APIPostToken" - }, - "APIPostTokenData": { - "properties": { - "token": { - "type": "string", - "title": "Token" + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIPutSetting" + } + } + }, + "description": "Successful Response" + }, + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "Validation Error" } }, - "type": "object", - "required": [ - "token" - ], - "title": "APIPostTokenData" - }, - "APIPutNamespaceRole": { - "properties": { - "other_namespace": { - "type": "string", - "title": "Other Namespace" + "summary": "Api Put Settings", + "tags": [ + "api" + ] + } + }, + "/api/v1/setting/{namespace}/{environment_name}/": { + "get": { + "operationId": "api_get_settings_api_v1_setting__namespace___environment_name___get", + "parameters": [ + { + "in": "path", + "name": "namespace", + "required": true, + "schema": { + "title": "Namespace", + "type": "string" + } }, - "role": { - "type": "string", - "title": "Role" + { + "in": "path", + "name": "environment_name", + "required": true, + "schema": { + "title": "Environment Name", + "type": "string" + } } - }, - "type": "object", - "required": [ - "other_namespace", - "role" ], - "title": "APIPutNamespaceRole" - }, - "APIPutSetting": { - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" - }, - "data": { - "title": "Data" + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIGetSetting" + } + } + }, + "description": "Successful Response" }, - "message": { - "type": "string", - "title": "Message" + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "Validation Error" } }, - "type": "object", - "required": [ - "status" - ], - "title": "APIPutSetting" + "summary": "Api Get Settings", + "tags": [ + "api" + ] }, - "APIResponse": { - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" - }, - "data": { - "title": "Data" + "put": { + "operationId": "api_put_settings_api_v1_setting__namespace___environment_name___put", + "parameters": [ + { + "in": "path", + "name": "namespace", + "required": true, + "schema": { + "title": "Namespace", + "type": "string" + } }, - "message": { - "type": "string", - "title": "Message" + { + "in": "path", + "name": "environment_name", + "required": true, + "schema": { + "title": "Environment Name", + "type": "string" + } } - }, - "type": "object", - "required": [ - "status" - ], - "title": "APIResponse" - }, - "APIStatus": { - "enum": [ - "ok", - "error" ], - "title": "APIStatus", - "description": "An enumeration." - }, - "Body_api_post_specification_api_v1_specification__post": { - "properties": { - "specification": { - "type": "string", - "title": "Specification", - "default": "" - }, - "namespace": { - "type": "string", - "title": "Namespace" - }, - "is_lockfile": { - "type": "boolean", - "title": "Is Lockfile", - "default": false + "requestBody": { + "content": { + "application/json": { + "schema": { + "title": "Data", + "type": "object" + } + } }, - "environment_name": { - "type": "string", - "title": "Environment Name", - "default": "" + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIPutSetting" + } + } + }, + "description": "Successful Response" }, - "environment_description": { - "type": "string", - "title": "Environment Description", - "default": "" + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "Validation Error" } }, - "type": "object", - "title": "Body_api_post_specification_api_v1_specification__post" - }, - "Body_api_post_token_api_v1_token__post": { - "properties": { - "primary_namespace": { - "type": "string", - "title": "Primary Namespace" + "summary": "Api Put Settings", + "tags": [ + "api" + ] + } + }, + "/api/v1/specification/": { + "get": { + "operationId": "api_get_specification_api_v1_specification__get", + "parameters": [ + { + "in": "query", + "name": "channel", + "required": false, + "schema": { + "default": [], + "items": { + "type": "string" + }, + "title": "Channel", + "type": "array" + } }, - "expiration": { - "type": "string", - "format": "date-time", - "title": "Expiration" + { + "in": "query", + "name": "conda", + "required": false, + "schema": { + "default": [], + "items": { + "type": "string" + }, + "title": "Conda", + "type": "array" + } }, - "role_bindings": { - "additionalProperties": { + { + "in": "query", + "name": "pip", + "required": false, + "schema": { + "default": [], "items": { "type": "string" }, + "title": "Pip", "type": "array" + } + }, + { + "in": "query", + "name": "format", + "required": false, + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/APIGetSpecificationFormat" + } + ], + "default": "yaml" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": {} + } + }, + "description": "Successful Response" + }, + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } }, - "type": "object", - "title": "Role Bindings" + "description": "Validation Error" } }, - "type": "object", - "title": "Body_api_post_token_api_v1_token__post" + "summary": "Api Get Specification", + "tags": [ + "api" + ] }, - "Body_api_update_environment_build_api_v1_environment__namespace___name___put": { - "properties": { - "build_id": { - "type": "integer", - "title": "Build Id" - }, - "description": { - "type": "string", - "title": "Description" + "post": { + "operationId": "api_post_specification_api_v1_specification__post", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Body_api_post_specification_api_v1_specification__post" + } + } } }, - "type": "object", - "title": "Body_api_update_environment_build_api_v1_environment__namespace___name___put" - }, - "Body_api_update_namespace_api_v1_namespace__namespace___put": { - "properties": { - "metadata": { - "type": "object", - "title": "Metadata" + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIPostSpecification" + } + } + }, + "description": "Successful Response" }, - "role_mappings": { - "additionalProperties": { - "items": { - "type": "string" - }, - "type": "array" + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } }, - "type": "object", - "title": "Role Mappings" + "description": "Validation Error" } }, - "type": "object", - "title": "Body_api_update_namespace_api_v1_namespace__namespace___put" - }, - "Build": { - "properties": { - "id": { - "type": "integer", - "title": "Id" - }, - "environment_id": { - "type": "integer", - "title": "Environment Id" - }, - "specification": { - "$ref": "#/components/schemas/Specification" - }, - "packages": { - "items": { - "$ref": "#/components/schemas/CondaPackage" + "summary": "Api Post Specification", + "tags": [ + "api" + ] + } + }, + "/api/v1/token/": { + "post": { + "operationId": "api_post_token_api_v1_token__post", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Body_api_post_token_api_v1_token__post" + } + } + } + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIPostToken" + } + } }, - "type": "array", - "title": "Packages" - }, - "status": { - "$ref": "#/components/schemas/BuildStatus" - }, - "status_info": { - "type": "string", - "title": "Status Info" - }, - "size": { - "type": "integer", - "title": "Size" - }, - "scheduled_on": { - "type": "string", - "format": "date-time", - "title": "Scheduled On" - }, - "started_on": { - "type": "string", - "format": "date-time", - "title": "Started On" - }, - "ended_on": { - "type": "string", - "format": "date-time", - "title": "Ended On" + "description": "Successful Response" }, - "build_artifacts": { - "items": { - "$ref": "#/components/schemas/BuildArtifact" + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } }, - "type": "array", - "title": "Build Artifacts" + "description": "Validation Error" } }, - "type": "object", - "required": [ - "id", - "environment_id", - "status", - "size", - "scheduled_on" - ], - "title": "Build" - }, - "BuildArtifact": { - "properties": { - "id": { - "type": "integer", - "title": "Id" - }, - "artifact_type": { - "$ref": "#/components/schemas/BuildArtifactType" - }, - "key": { - "type": "string", - "title": "Key" + "summary": "Api Post Token", + "tags": [ + "api" + ] + } + }, + "/api/v1/usage/": { + "get": { + "operationId": "api_get_usage_api_v1_usage__get", + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIGetUsage" + } + } + }, + "description": "Successful Response" } }, - "type": "object", - "required": [ - "id", - "artifact_type", - "key" - ], - "title": "BuildArtifact" - }, - "BuildArtifactType": { - "enum": [ - "DIRECTORY", - "LOCKFILE", - "LOGS", - "YAML", - "CONDA_PACK", - "DOCKER_BLOB", - "DOCKER_MANIFEST", - "CONTAINER_REGISTRY", - "CONSTRUCTOR_INSTALLER" - ], - "title": "BuildArtifactType", - "description": "An enumeration." - }, - "BuildStatus": { - "enum": [ - "QUEUED", - "BUILDING", - "COMPLETED", - "FAILED", - "CANCELED" - ], - "title": "BuildStatus", - "description": "An enumeration." - }, - "CondaChannel": { - "properties": { - "id": { - "type": "integer", - "title": "Id" - }, - "name": { - "type": "string", - "title": "Name" - }, - "last_update": { - "type": "string", - "format": "date-time", - "title": "Last Update" + "summary": "Api Get Usage", + "tags": [ + "api" + ] + } + }, + "/celery": { + "get": { + "operationId": "trigger_task_celery_get", + "responses": { + "200": { + "content": { + "application/json": { + "schema": {} + } + }, + "description": "Successful Response" + } + }, + "summary": "Trigger Task", + "tags": [ + "metrics" + ] + } + }, + "/login/": { + "get": { + "operationId": "get_login_method_login__get", + "parameters": [ + { + "in": "query", + "name": "next", + "required": false, + "schema": { + "title": "Next", + "type": "string" + } } - }, - "type": "object", - "required": [ - "id", - "name" ], - "title": "CondaChannel" - }, - "CondaPackage": { - "properties": { - "id": { - "type": "integer", - "title": "Id" - }, - "channel": { - "$ref": "#/components/schemas/CondaChannel" - }, - "license": { - "type": "string", - "title": "License" - }, - "name": { - "type": "string", - "title": "Name" - }, - "version": { - "type": "string", - "title": "Version" + "responses": { + "200": { + "content": { + "application/json": { + "schema": {} + } + }, + "description": "Successful Response" }, - "summary": { - "type": "string", - "title": "Summary" + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "Validation Error" } }, - "type": "object", - "required": [ - "id", - "channel", - "name", - "version" - ], - "title": "CondaPackage" + "summary": "Get Login Method", + "tags": [ + "auth" + ] }, - "Environment": { - "properties": { - "id": { - "type": "integer", - "title": "Id" - }, - "namespace": { - "$ref": "#/components/schemas/Namespace" - }, - "name": { - "type": "string", - "title": "Name" - }, - "current_build_id": { - "type": "integer", - "title": "Current Build Id" - }, - "current_build": { - "$ref": "#/components/schemas/Build" - }, - "description": { - "type": "string", - "title": "Description" + "post": { + "operationId": "post_login_method_login__post", + "parameters": [ + { + "in": "query", + "name": "next", + "required": false, + "schema": { + "title": "Next", + "type": "string" + } } - }, - "type": "object", - "required": [ - "id", - "namespace", - "name", - "current_build_id" ], - "title": "Environment" - }, - "HTTPValidationError": { - "properties": { - "detail": { - "items": { - "$ref": "#/components/schemas/ValidationError" + "responses": { + "200": { + "content": { + "application/json": { + "schema": {} + } }, - "type": "array", - "title": "Detail" - } - }, - "type": "object", - "title": "HTTPValidationError" - }, - "Namespace": { - "properties": { - "id": { - "type": "integer", - "title": "Id" - }, - "name": { - "type": "string", - "pattern": "^[A-Za-z0-9-+_@$&?^~.=]+$", - "title": "Name" + "description": "Successful Response" }, - "metadata_": { - "type": "object", - "title": "Metadata " - }, - "role_mappings": { - "items": { - "$ref": "#/components/schemas/NamespaceRoleMapping" + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } }, - "type": "array", - "title": "Role Mappings", - "default": [] + "description": "Validation Error" } }, - "type": "object", - "required": [ - "id", - "name" - ], - "title": "Namespace" - }, - "NamespaceRoleMapping": { - "properties": { - "id": { - "type": "integer", - "title": "Id" - }, - "entity": { - "type": "string", - "title": "Entity" - }, - "role": { - "type": "string", - "title": "Role" + "summary": "Post Login Method", + "tags": [ + "auth" + ] + } + }, + "/logout/": { + "post": { + "operationId": "post_logout_method_logout__post", + "parameters": [ + { + "in": "query", + "name": "next", + "required": false, + "schema": { + "title": "Next", + "type": "string" + } } - }, - "type": "object", - "required": [ - "id", - "entity", - "role" ], - "title": "NamespaceRoleMapping" - }, - "Specification": { - "properties": { - "id": { - "type": "integer", - "title": "Id" - }, - "name": { - "type": "string", - "title": "Name" - }, - "spec": { - "type": "object", - "title": "Spec" - }, - "sha256": { - "type": "string", - "title": "Sha256" + "responses": { + "200": { + "content": { + "application/json": { + "schema": {} + } + }, + "description": "Successful Response" }, - "created_on": { - "type": "string", - "format": "date-time", - "title": "Created On" + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "Validation Error" } }, - "type": "object", - "required": [ - "id", - "name", - "spec", - "sha256", - "created_on" - ], - "title": "Specification" - }, - "ValidationError": { - "properties": { - "loc": { - "items": { - "anyOf": [ - { + "summary": "Post Logout Method", + "tags": [ + "auth" + ] + } + }, + "/metrics": { + "get": { + "operationId": "prometheus_metrics_metrics_get", + "responses": { + "200": { + "content": { + "text/plain": { + "schema": { "type": "string" - }, - { - "type": "integer" } - ] + } }, - "type": "array", - "title": "Location" - }, - "msg": { - "type": "string", - "title": "Message" - }, - "type": { - "type": "string", - "title": "Error Type" + "description": "Successful Response" } }, - "type": "object", - "required": [ - "loc", - "msg", - "type" + "summary": "Prometheus Metrics", + "tags": [ + "metrics" + ] + } + }, + "/v2/": { + "get": { + "operationId": "v2_v2__get", + "responses": { + "200": { + "content": { + "application/json": { + "schema": {} + } + }, + "description": "Successful Response" + } + }, + "summary": "V2", + "tags": [ + "registry" + ] + } + }, + "/v2/{rest}": { + "get": { + "operationId": "list_tags_v2__rest__get", + "parameters": [ + { + "in": "path", + "name": "rest", + "required": true, + "schema": { + "title": "Rest", + "type": "string" + } + } ], - "title": "ValidationError" + "responses": { + "200": { + "content": { + "application/json": { + "schema": {} + } + }, + "description": "Successful Response" + }, + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "Validation Error" + } + }, + "summary": "List Tags", + "tags": [ + "registry" + ] } } }