diff --git a/CHANGELOG.md b/CHANGELOG.md index 04f9d8e6d..238e9403e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ + # Changelog All notable changes to this project will be documented in this file. @@ -5,47 +6,6 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). The project changed to `CalVer` in September 2023. -## [2024.9.1] - 2024-09-17 - -([full changelog](https://github.com/conda-incubator/conda-store/compare/2024.6.1...ca48ae04c1d1dd913e1c60f97a7a551800417c22)) - -## Merged PRs - -- MAINT - Miscellaneous maintenance/governance tasks [#865](https://github.com/conda-incubator/conda-store/pull/865) ([@trallard](https://github.com/trallard)) -- MAINT - Update `openapi.json` file path in `generate_api_docs.yaml` [#863](https://github.com/conda-incubator/conda-store/pull/863) ([@pavithraes](https://github.com/pavithraes)) -- [pre-commit.ci] pre-commit autoupdate [#860](https://github.com/conda-incubator/conda-store/pull/860) ([@pre-commit-ci](https://github.com/pre-commit-ci)) -- [MAINT] Prevent workers from trying to parse sys.argv upon intialization [#850](https://github.com/conda-incubator/conda-store/pull/850) ([@peytondmurray](https://github.com/peytondmurray)) -- MAINT - Add dependabot config [#847](https://github.com/conda-incubator/conda-store/pull/847) ([@trallard](https://github.com/trallard)) -- [MAINT] Remove deprecated docker-compose config option [#846](https://github.com/conda-incubator/conda-store/pull/846) ([@peytondmurray](https://github.com/peytondmurray)) -- DEV - Set a canonical default Python version (3.12) [#844](https://github.com/conda-incubator/conda-store/pull/844) ([@trallard](https://github.com/trallard)) -- DEV - Simplify Docker images [#841](https://github.com/conda-incubator/conda-store/pull/841) ([@trallard](https://github.com/trallard)) -- restart workers after executing 10 tasks to mitigate memory leaks [#840](https://github.com/conda-incubator/conda-store/pull/840) ([@Adam-D-Lewis](https://github.com/Adam-D-Lewis)) -- [pre-commit.ci] pre-commit autoupdate [#839](https://github.com/conda-incubator/conda-store/pull/839) ([@pre-commit-ci](https://github.com/pre-commit-ci)) -- DEV - Update dev environments [#838](https://github.com/conda-incubator/conda-store/pull/838) ([@trallard](https://github.com/trallard)) -- BUG - Fix triggers [#837](https://github.com/conda-incubator/conda-store/pull/837) ([@trallard](https://github.com/trallard)) -- Bump braces from 3.0.2 to 3.0.3 in /docusaurus-docs [#835](https://github.com/conda-incubator/conda-store/pull/835) ([@dependabot](https://github.com/dependabot)) -- MAINT - Mock out calls to `conda-lock` for `test_solve_lockfile` [#834](https://github.com/conda-incubator/conda-store/pull/834) ([@peytondmurray](https://github.com/peytondmurray)) -- MAINT - Mock out call to env solve in `test_generate_constructor_installer` [#833](https://github.com/conda-incubator/conda-store/pull/833) ([@peytondmurray](https://github.com/peytondmurray)) -- ENH - Update workflows triggers [#832](https://github.com/conda-incubator/conda-store/pull/832) ([@trallard](https://github.com/trallard)) -- DOC - Update documentation [#831](https://github.com/conda-incubator/conda-store/pull/831) ([@trallard](https://github.com/trallard)) -- REL - 2024.6.1 [#829](https://github.com/conda-incubator/conda-store/pull/829) ([@peytondmurray](https://github.com/peytondmurray)) -- MAINT - Add `conda config` warning docs/message; add duration log for actions [#823](https://github.com/conda-incubator/conda-store/pull/823) ([@peytondmurray](https://github.com/peytondmurray)) -- DEV - Build docker images for arm (aarch64) [#822](https://github.com/conda-incubator/conda-store/pull/822) ([@aktech](https://github.com/aktech)) -- DEV - Privatize internal conda-store API [#820](https://github.com/conda-incubator/conda-store/pull/820) ([@peytondmurray](https://github.com/peytondmurray)) -- MAINT - Misc improvements to repo [#802](https://github.com/conda-incubator/conda-store/pull/802) ([@trallard](https://github.com/trallard)) -- Bump express from 4.18.2 to 4.19.2 in /docusaurus-docs [#800](https://github.com/conda-incubator/conda-store/pull/800) ([@dependabot](https://github.com/dependabot)) -- Bump follow-redirects from 1.15.4 to 1.15.6 in /docusaurus-docs [#785](https://github.com/conda-incubator/conda-store/pull/785) ([@dependabot](https://github.com/dependabot)) -- [DOC] Auto-generate openapi.json [#782](https://github.com/conda-incubator/conda-store/pull/782) ([@pavithraes](https://github.com/pavithraes)) -- DOC - Update metadata on landing page [#774](https://github.com/conda-incubator/conda-store/pull/774) ([@pavithraes](https://github.com/pavithraes)) -- Update conda-store explanations [#726](https://github.com/conda-incubator/conda-store/pull/726) ([@pavithraes](https://github.com/pavithraes)) - -## Contributors to this release - -([GitHub contributors page for this release](https://github.com/conda-incubator/conda-store/graphs/contributors?from=2024-06-10&to=2024-09-01&type=c)) - -[@Adam-D-Lewis](https://github.com/search?q=repo%3Aconda-incubator%2Fconda-store+involves%3AAdam-D-Lewis+updated%3A2024-06-10..2024-09-01&type=Issues) | [@aktech](https://github.com/search?q=repo%3Aconda-incubator%2Fconda-store+involves%3Aaktech+updated%3A2024-06-10..2024-09-01&type=Issues) | [@asmeurer](https://github.com/search?q=repo%3Aconda-incubator%2Fconda-store+involves%3Aasmeurer+updated%3A2024-06-10..2024-09-01&type=Issues) | [@costrouc](https://github.com/search?q=repo%3Aconda-incubator%2Fconda-store+involves%3Acostrouc+updated%3A2024-06-10..2024-09-01&type=Issues) | [@dependabot](https://github.com/search?q=repo%3Aconda-incubator%2Fconda-store+involves%3Adependabot+updated%3A2024-06-10..2024-09-01&type=Issues) | [@dharhas](https://github.com/search?q=repo%3Aconda-incubator%2Fconda-store+involves%3Adharhas+updated%3A2024-06-10..2024-09-01&type=Issues) | [@jaimergp](https://github.com/search?q=repo%3Aconda-incubator%2Fconda-store+involves%3Ajaimergp+updated%3A2024-06-10..2024-09-01&type=Issues) | [@kcpevey](https://github.com/search?q=repo%3Aconda-incubator%2Fconda-store+involves%3Akcpevey+updated%3A2024-06-10..2024-09-01&type=Issues) | [@netlify](https://github.com/search?q=repo%3Aconda-incubator%2Fconda-store+involves%3Anetlify+updated%3A2024-06-10..2024-09-01&type=Issues) | [@pavithraes](https://github.com/search?q=repo%3Aconda-incubator%2Fconda-store+involves%3Apavithraes+updated%3A2024-06-10..2024-09-01&type=Issues) | [@peytondmurray](https://github.com/search?q=repo%3Aconda-incubator%2Fconda-store+involves%3Apeytondmurray+updated%3A2024-06-10..2024-09-01&type=Issues) | [@pre-commit-ci](https://github.com/search?q=repo%3Aconda-incubator%2Fconda-store+involves%3Apre-commit-ci+updated%3A2024-06-10..2024-09-01&type=Issues) | [@trallard](https://github.com/search?q=repo%3Aconda-incubator%2Fconda-store+involves%3Atrallard+updated%3A2024-06-10..2024-09-01&type=Issues) - - ## [2024.6.1] - 2024-06-10 ([full changelog](https://github.com/conda-incubator/conda-store/compare/2024.3.1...293d19fa7a7bce999b1069b147314a5966541a32)) diff --git a/conda-store-server/conda_store_server/__init__.py b/conda-store-server/conda_store_server/__init__.py index 15d710d56..47ee7c035 100644 --- a/conda-store-server/conda_store_server/__init__.py +++ b/conda-store-server/conda_store_server/__init__.py @@ -9,7 +9,7 @@ import platformdirs -__version__ = "2024.9.1" +__version__ = "2024.6.1" CONDA_STORE_DIR = platformdirs.user_data_path(appname="conda-store") diff --git a/conda-store/conda_store/__init__.py b/conda-store/conda_store/__init__.py index e85c4d936..bfa097434 100644 --- a/conda-store/conda_store/__init__.py +++ b/conda-store/conda_store/__init__.py @@ -2,4 +2,4 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -__version__ = "2024.9.1" +__version__ = "2024.6.1" diff --git a/docusaurus-docs/static/openapi.json b/docusaurus-docs/static/openapi.json index 839dbe9f6..6c51f3beb 100644 --- a/docusaurus-docs/static/openapi.json +++ b/docusaurus-docs/static/openapi.json @@ -1,4229 +1,4229 @@ { - "components": { - "schemas": { - "APIAckResponse": { - "properties": { - "message": { - "title": "Message", - "type": "string" - }, - "status": { - "$ref": "#/components/schemas/APIStatus" - } - }, - "required": [ - "status" + "openapi": "3.1.0", + "info": { + "title": "conda-store", + "version": "2024.6.1" + }, + "paths": { + "/login/": { + "get": { + "tags": [ + "auth" ], - "title": "APIAckResponse", - "type": "object" - }, - "APIDeleteNamespaceRole": { - "properties": { - "other_namespace": { - "title": "Other Namespace", - "type": "string" + "summary": "Get Login Method", + "operationId": "get_login_method_login__get", + "parameters": [ + { + "required": false, + "schema": { + "type": "string", + "title": "Next" + }, + "name": "next", + "in": "query" } - }, - "required": [ - "other_namespace" ], - "title": "APIDeleteNamespaceRole", - "type": "object" - }, - "APIGetBuild": { - "properties": { - "data": { - "$ref": "#/components/schemas/Build" - }, - "message": { - "title": "Message", - "type": "string" + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": {} + } + } }, - "status": { - "$ref": "#/components/schemas/APIStatus" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } } - }, - "required": [ - "status", - "data" - ], - "title": "APIGetBuild", - "type": "object" + } }, - "APIGetEnvironment": { - "properties": { - "data": { - "$ref": "#/components/schemas/Environment" - }, - "message": { - "title": "Message", - "type": "string" - }, - "status": { - "$ref": "#/components/schemas/APIStatus" - } - }, - "required": [ - "status", - "data" + "post": { + "tags": [ + "auth" ], - "title": "APIGetEnvironment", - "type": "object" - }, - "APIGetNamespace": { - "properties": { - "data": { - "$ref": "#/components/schemas/Namespace" - }, - "message": { - "title": "Message", - "type": "string" - }, - "status": { - "$ref": "#/components/schemas/APIStatus" + "summary": "Post Login Method", + "operationId": "post_login_method_login__post", + "parameters": [ + { + "required": false, + "schema": { + "type": "string", + "title": "Next" + }, + "name": "next", + "in": "query" } - }, - "required": [ - "status", - "data" ], - "title": "APIGetNamespace", - "type": "object" - }, - "APIGetPermission": { - "properties": { - "data": { - "$ref": "#/components/schemas/APIGetPermissionData" - }, - "message": { - "title": "Message", - "type": "string" + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": {} + } + } }, - "status": { - "$ref": "#/components/schemas/APIStatus" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } } - }, - "required": [ - "status", - "data" + } + } + }, + "/logout/": { + "post": { + "tags": [ + "auth" ], - "title": "APIGetPermission", - "type": "object" - }, - "APIGetPermissionData": { - "properties": { - "authenticated": { - "title": "Authenticated", - "type": "boolean" - }, - "entity_permissions": { - "additionalProperties": { - "items": { - "type": "string" - }, - "type": "array" - }, - "title": "Entity Permissions", - "type": "object" - }, - "entity_roles": { - "additionalProperties": { - "items": { - "type": "string" - }, - "type": "array" + "summary": "Post Logout Method", + "operationId": "post_logout_method_logout__post", + "parameters": [ + { + "required": false, + "schema": { + "type": "string", + "title": "Next" }, - "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" - ], - "title": "APIGetPermissionData", - "type": "object" - }, - "APIGetSetting": { - "properties": { - "data": { - "title": "Data", - "type": "object" - }, - "message": { - "title": "Message", - "type": "string" - }, - "status": { - "$ref": "#/components/schemas/APIStatus" + "name": "next", + "in": "query" } - }, - "required": [ - "status", - "data" - ], - "title": "APIGetSetting", - "type": "object" - }, - "APIGetSpecificationFormat": { - "description": "An enumeration.", - "enum": [ - "yaml", - "lockfile" ], - "title": "APIGetSpecificationFormat" - }, - "APIGetStatus": { - "properties": { - "data": { - "$ref": "#/components/schemas/APIGetStatusData" - }, - "message": { - "title": "Message", - "type": "string" + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": {} + } + } }, - "status": { - "$ref": "#/components/schemas/APIStatus" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } } - }, - "required": [ - "status", - "data" + } + } + }, + "/api/v1/": { + "get": { + "tags": [ + "api" ], - "title": "APIGetStatus", - "type": "object" - }, - "APIGetStatusData": { - "properties": { - "version": { - "title": "Version", - "type": "string" + "summary": "Api Status", + "operationId": "api_status_api_v1__get", + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIGetStatus" + } + } + } } - }, - "required": [ - "version" + } + } + }, + "/api/v1/permission/": { + "get": { + "tags": [ + "api" ], - "title": "APIGetStatusData", - "type": "object" - }, - "APIGetUsage": { - "properties": { - "data": { - "additionalProperties": { - "type": "object" - }, - "title": "Data", - "type": "object" - }, - "message": { - "title": "Message", - "type": "string" - }, - "status": { - "$ref": "#/components/schemas/APIStatus" + "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" + } + } + } } - }, - "required": [ - "status", - "data" + } + } + }, + "/api/v1/usage/": { + "get": { + "tags": [ + "api" ], - "title": "APIGetUsage", - "type": "object" - }, - "APIListBuild": { - "properties": { - "count": { - "title": "Count", - "type": "integer" - }, - "data": { - "items": { - "$ref": "#/components/schemas/Build" - }, - "title": "Data", - "type": "array" - }, - "message": { - "title": "Message", - "type": "string" - }, - "page": { - "title": "Page", - "type": "integer" - }, - "size": { - "title": "Size", - "type": "integer" - }, - "status": { - "$ref": "#/components/schemas/APIStatus" + "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" + } + } + } } - }, - "required": [ - "status", - "data", - "page", - "size", - "count" + } + } + }, + "/api/v1/token/": { + "post": { + "tags": [ + "api" ], - "title": "APIListBuild", - "type": "object" - }, - "APIListCondaChannel": { - "properties": { - "count": { - "title": "Count", - "type": "integer" - }, - "data": { - "items": { - "$ref": "#/components/schemas/CondaChannel" - }, - "title": "Data", - "type": "array" - }, - "message": { - "title": "Message", - "type": "string" - }, - "page": { - "title": "Page", - "type": "integer" - }, - "size": { - "title": "Size", - "type": "integer" - }, - "status": { - "$ref": "#/components/schemas/APIStatus" + "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" + } + } } }, - "required": [ - "status", - "data", - "page", - "size", - "count" - ], - "title": "APIListCondaChannel", - "type": "object" - }, - "APIListCondaPackage": { - "properties": { - "count": { - "title": "Count", - "type": "integer" - }, - "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" + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIPostToken" + } + } + } }, - "status": { - "$ref": "#/components/schemas/APIStatus" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } } - }, - "required": [ - "status", - "data", - "page", - "size", - "count" + } + } + }, + "/api/v1/namespace/": { + "get": { + "tags": [ + "api" ], - "title": "APIListCondaPackage", - "type": "object" - }, - "APIListEnvironment": { - "properties": { - "count": { - "title": "Count", - "type": "integer" - }, - "data": { - "items": { - "$ref": "#/components/schemas/Environment" + "summary": "Api List Namespaces", + "operationId": "api_list_namespaces_api_v1_namespace__get", + "parameters": [ + { + "required": false, + "schema": { + "type": "integer", + "title": "Page", + "default": 1 }, - "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" - ], - "title": "APIListEnvironment", - "type": "object" - }, - "APIListNamespace": { - "properties": { - "count": { - "title": "Count", - "type": "integer" + "name": "page", + "in": "query" }, - "data": { - "items": { - "$ref": "#/components/schemas/Namespace" + { + "required": false, + "schema": { + "type": "string", + "title": "Order" }, - "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" - ], - "title": "APIListNamespace", - "type": "object" - }, - "APIPostNamespaceRole": { - "properties": { - "other_namespace": { - "title": "Other Namespace", - "type": "string" - }, - "role": { - "title": "Role", - "type": "string" - } - }, - "required": [ - "other_namespace", - "role" - ], - "title": "APIPostNamespaceRole", - "type": "object" - }, - "APIPostSpecification": { - "properties": { - "data": { - "$ref": "#/components/schemas/APIPostSpecificationData" - }, - "message": { - "title": "Message", - "type": "string" - }, - "status": { - "$ref": "#/components/schemas/APIStatus" - } - }, - "required": [ - "status", - "data" - ], - "title": "APIPostSpecification", - "type": "object" - }, - "APIPostSpecificationData": { - "properties": { - "build_id": { - "title": "Build Id", - "type": "integer" - } - }, - "required": [ - "build_id" - ], - "title": "APIPostSpecificationData", - "type": "object" - }, - "APIPostToken": { - "properties": { - "data": { - "$ref": "#/components/schemas/APIPostTokenData" - }, - "message": { - "title": "Message", - "type": "string" - }, - "status": { - "$ref": "#/components/schemas/APIStatus" - } - }, - "required": [ - "status", - "data" - ], - "title": "APIPostToken", - "type": "object" - }, - "APIPostTokenData": { - "properties": { - "token": { - "title": "Token", - "type": "string" - } - }, - "required": [ - "token" - ], - "title": "APIPostTokenData", - "type": "object" - }, - "APIPutNamespaceRole": { - "properties": { - "other_namespace": { - "title": "Other Namespace", - "type": "string" - }, - "role": { - "title": "Role", - "type": "string" - } - }, - "required": [ - "other_namespace", - "role" - ], - "title": "APIPutNamespaceRole", - "type": "object" - }, - "APIPutSetting": { - "properties": { - "data": { - "title": "Data" + "name": "order", + "in": "query" }, - "message": { - "title": "Message", - "type": "string" + { + "required": false, + "schema": { + "type": "integer", + "title": "Size" + }, + "name": "size", + "in": "query" }, - "status": { - "$ref": "#/components/schemas/APIStatus" + { + "required": false, + "schema": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Sort By", + "default": [] + }, + "name": "sort_by", + "in": "query" } - }, - "required": [ - "status" ], - "title": "APIPutSetting", - "type": "object" - }, - "APIResponse": { - "properties": { - "data": { - "title": "Data" - }, - "message": { - "title": "Message", - "type": "string" + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIListNamespace" + } + } + } }, - "status": { - "$ref": "#/components/schemas/APIStatus" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } } - }, - "required": [ - "status" - ], - "title": "APIResponse", - "type": "object" - }, - "APIStatus": { - "description": "An enumeration.", - "enum": [ - "ok", - "error" + } + } + }, + "/api/v1/namespace/{namespace}/": { + "get": { + "tags": [ + "api" ], - "title": "APIStatus" - }, - "Body_api_post_specification_api_v1_specification__post": { - "properties": { - "environment_description": { - "default": "", - "title": "Environment Description", - "type": "string" - }, - "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" - }, - "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" + "summary": "Api Get Namespace", + "operationId": "api_get_namespace_api_v1_namespace__namespace___get", + "parameters": [ + { + "required": true, + "schema": { + "type": "string", + "title": "Namespace" }, - "title": "Role Bindings", - "type": "object" + "name": "namespace", + "in": "path" } - }, - "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" + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIGetNamespace" + } + } + } }, - "description": { - "title": "Description", - "type": "string" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } } - }, - "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" + "put": { + "tags": [ + "api" + ], + "summary": "Api Update Namespace", + "operationId": "api_update_namespace_api_v1_namespace__namespace___put", + "parameters": [ + { + "required": true, + "schema": { + "type": "string", + "title": "Namespace" }, - "title": "Role Mappings", - "type": "object" + "name": "namespace", + "in": "path" } - }, - "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" - }, - "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" - }, - "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" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Body_api_update_namespace_api_v1_namespace__namespace___put" + } + } } }, - "required": [ - "id", - "environment_id", - "status", - "size", - "scheduled_on" - ], - "title": "Build", - "type": "object" - }, - "BuildArtifact": { - "properties": { - "artifact_type": { - "$ref": "#/components/schemas/BuildArtifactType" - }, - "id": { - "title": "Id", - "type": "integer" + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIAckResponse" + } + } + } }, - "key": { - "title": "Key", - "type": "string" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } } - }, - "required": [ - "id", - "artifact_type", - "key" - ], - "title": "BuildArtifact", - "type": "object" + } }, - "BuildArtifactType": { - "description": "An enumeration.", - "enum": [ - "DIRECTORY", - "LOCKFILE", - "LOGS", - "YAML", - "CONDA_PACK", - "DOCKER_BLOB", - "DOCKER_MANIFEST", - "CONTAINER_REGISTRY", - "CONSTRUCTOR_INSTALLER" + "post": { + "tags": [ + "api" ], - "title": "BuildArtifactType" - }, - "BuildStatus": { - "description": "An enumeration.", - "enum": [ - "QUEUED", - "BUILDING", - "COMPLETED", - "FAILED", - "CANCELED" + "summary": "Api Create Namespace", + "operationId": "api_create_namespace_api_v1_namespace__namespace___post", + "parameters": [ + { + "required": true, + "schema": { + "type": "string", + "title": "Namespace" + }, + "name": "namespace", + "in": "path" + } ], - "title": "BuildStatus" - }, - "CondaChannel": { - "properties": { - "id": { - "title": "Id", - "type": "integer" - }, - "last_update": { - "format": "date-time", - "title": "Last Update", - "type": "string" + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIAckResponse" + } + } + } }, - "name": { - "title": "Name", - "type": "string" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } } - }, - "required": [ - "id", - "name" - ], - "title": "CondaChannel", - "type": "object" + } }, - "CondaPackage": { - "properties": { - "channel": { - "$ref": "#/components/schemas/CondaChannel" - }, - "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" + "delete": { + "tags": [ + "api" + ], + "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" } - }, - "required": [ - "id", - "channel", - "name", - "version" ], - "title": "CondaPackage", - "type": "object" - }, - "Environment": { - "properties": { - "current_build": { - "$ref": "#/components/schemas/Build" - }, - "current_build_id": { - "title": "Current Build Id", - "type": "integer" - }, - "description": { - "title": "Description", - "type": "string" - }, - "id": { - "title": "Id", - "type": "integer" - }, - "name": { - "title": "Name", - "type": "string" + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIAckResponse" + } + } + } }, - "namespace": { - "$ref": "#/components/schemas/Namespace" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } } - }, - "required": [ - "id", - "namespace", - "name", - "current_build_id" + } + } + }, + "/api/v1/namespace/{namespace}/metadata": { + "put": { + "tags": [ + "api" ], - "title": "Environment", - "type": "object" - }, - "HTTPValidationError": { - "properties": { - "detail": { - "items": { - "$ref": "#/components/schemas/ValidationError" + "summary": "Api Update Namespace Metadata", + "operationId": "api_update_namespace_metadata_api_v1_namespace__namespace__metadata_put", + "parameters": [ + { + "required": true, + "schema": { + "type": "string", + "title": "Namespace" }, - "title": "Detail", - "type": "array" + "name": "namespace", + "in": "path" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Metadata" + } + } } }, - "title": "HTTPValidationError", - "type": "object" - }, - "Namespace": { - "properties": { - "id": { - "title": "Id", - "type": "integer" - }, - "metadata_": { - "title": "Metadata ", - "type": "object" - }, - "name": { - "pattern": "^[A-Za-z0-9-+_@$&?^~.=]+$", - "title": "Name", - "type": "string" + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIAckResponse" + } + } + } }, - "role_mappings": { - "default": [], - "items": { - "$ref": "#/components/schemas/NamespaceRoleMapping" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + } + }, + "/api/v1/namespace/{namespace}/roles": { + "get": { + "tags": [ + "api" + ], + "summary": "Api Get Namespace Roles", + "operationId": "api_get_namespace_roles_api_v1_namespace__namespace__roles_get", + "parameters": [ + { + "required": true, + "schema": { + "type": "string", + "title": "Namespace" }, - "title": "Role Mappings", - "type": "array" + "name": "namespace", + "in": "path" } - }, - "required": [ - "id", - "name" ], - "title": "Namespace", - "type": "object" - }, - "NamespaceRoleMapping": { - "properties": { - "entity": { - "title": "Entity", - "type": "string" - }, - "id": { - "title": "Id", - "type": "integer" + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIResponse" + } + } + } }, - "role": { - "title": "Role", - "type": "string" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } } - }, - "required": [ - "id", - "entity", - "role" - ], - "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" + "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" + }, + "name": "namespace", + "in": "path" } - }, - "required": [ - "id", - "name", - "spec", - "sha256", - "created_on" ], - "title": "Specification", - "type": "object" - }, - "ValidationError": { - "properties": { - "loc": { - "items": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "integer" + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIAckResponse" } - ] - }, - "title": "Location", - "type": "array" - }, - "msg": { - "title": "Message", - "type": "string" + } + } }, - "type": { - "title": "Error Type", - "type": "string" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } } - }, - "required": [ - "loc", - "msg", - "type" - ], - "title": "ValidationError", - "type": "object" + } } - } - }, - "info": { - "title": "conda-store", - "version": "2024.9.1" - }, - "openapi": "3.1.0", - "paths": { - "/": { + }, + "/api/v1/namespace/{namespace}/role": { "get": { - "operationId": "get_conda_store_ui__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" + }, + "name": "namespace", + "in": "path" + }, + { + "required": true, + "schema": { + "type": "string", + "title": "Other Namespace" + }, + "name": "other_namespace", + "in": "query" + } + ], "responses": { "200": { + "description": "Successful Response", "content": { "application/json": { - "schema": {} + "schema": { + "$ref": "#/components/schemas/APIResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } } + } + } + } + }, + "put": { + "tags": [ + "api" + ], + "summary": "Api Update Namespace Role", + "operationId": "api_update_namespace_role_api_v1_namespace__namespace__role_put", + "parameters": [ + { + "required": true, + "schema": { + "type": "string", + "title": "Namespace" }, - "description": "Successful Response" + "name": "namespace", + "in": "path" } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIPutNamespaceRole" + } + } + }, + "required": true }, - "summary": "Get Conda Store Ui", + "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": [ - "conda-store-ui" - ] - } - }, - "/admin/": { - "get": { - "operationId": "ui_list_environments_admin__get", + "api" + ], + "summary": "Api Create Namespace Role", + "operationId": "api_create_namespace_role_api_v1_namespace__namespace__role_post", "parameters": [ { - "in": "query", - "name": "search", - "required": false, + "required": true, "schema": { - "title": "Search", - "type": "string" - } + "type": "string", + "title": "Namespace" + }, + "name": "namespace", + "in": "path" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIPostNamespaceRole" + } + } + }, + "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" + } } - }, - "summary": "Ui List Environments", + } + }, + "delete": { "tags": [ - "ui" - ] - } - }, - "/admin/build/{build_id}/": { - "get": { - "operationId": "ui_get_build_admin_build__build_id___get", + "api" + ], + "summary": "Api Delete Namespace Role", + "operationId": "api_delete_namespace_role_api_v1_namespace__namespace__role_delete", "parameters": [ { - "in": "path", - "name": "build_id", "required": true, "schema": { - "title": "Build Id", - "type": "integer" - } + "type": "string", + "title": "Namespace" + }, + "name": "namespace", + "in": "path" } ], + "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" + } } - }, - "summary": "Ui Get Build", - "tags": [ - "ui" - ] + } } }, - "/admin/create/": { + "/api/v1/environment/": { "get": { - "operationId": "ui_create_get_environment_admin_create__get", - "responses": { - "200": { - "content": { - "application/json": { - "schema": {} - } - }, - "description": "Successful Response" - } - }, - "summary": "Ui Create Get Environment", "tags": [ - "ui" - ] - } - }, - "/admin/environment/{namespace}/{environment_name}/": { - "get": { - "operationId": "ui_get_environment_admin_environment__namespace___environment_name___get", + "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", "parameters": [ { - "in": "path", + "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", - "required": true, + "in": "query" + }, + { + "required": false, "schema": { - "title": "Namespace", - "type": "string" - } + "items": { + "type": "string" + }, + "type": "array", + "title": "Packages", + "default": [] + }, + "name": "packages", + "in": "query" }, { - "in": "path", - "name": "environment_name", - "required": true, + "required": false, "schema": { - "title": "Environment Name", - "type": "string" - } + "type": "string", + "title": "Search" + }, + "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" } ], "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": "Ui Get Environment", - "tags": [ - "ui" - ] + } } }, - "/admin/environment/{namespace}/{environment_name}/edit/": { + "/api/v1/environment/{namespace}/{environment_name}/": { "get": { - "operationId": "ui_edit_environment_admin_environment__namespace___environment_name__edit__get", + "tags": [ + "api" + ], + "summary": "Api Get Environment", + "operationId": "api_get_environment_api_v1_environment__namespace___environment_name___get", "parameters": [ { - "in": "path", - "name": "namespace", "required": true, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "string", + "title": "Namespace" + }, + "name": "namespace", + "in": "path" }, { - "in": "path", - "name": "environment_name", "required": true, "schema": { - "title": "Environment Name", - "type": "string" - } + "type": "string", + "title": "Environment Name" + }, + "name": "environment_name", + "in": "path" } ], "responses": { "200": { + "description": "Successful Response", "content": { "application/json": { - "schema": {} + "schema": { + "$ref": "#/components/schemas/APIGetEnvironment" + } } - }, - "description": "Successful Response" + } }, "422": { + "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - }, - "description": "Validation Error" + } } - }, - "summary": "Ui Edit Environment", - "tags": [ - "ui" - ] + } } }, - "/admin/namespace/": { - "get": { - "operationId": "ui_list_namespaces_admin_namespace__get", - "responses": { - "200": { - "content": { - "application/json": { - "schema": {} - } - }, - "description": "Successful Response" - } - }, - "summary": "Ui List Namespaces", + "/api/v1/environment/{namespace}/{name}/": { + "put": { "tags": [ - "ui" - ] - } - }, - "/admin/setting/": { - "get": { - "operationId": "ui_get_setting_admin_setting__get", + "api" + ], + "summary": "Api Update Environment Build", + "operationId": "api_update_environment_build_api_v1_environment__namespace___name___put", "parameters": [ { - "in": "query", - "name": "namespace", - "required": false, + "required": true, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "string", + "title": "Namespace" + }, + "name": "namespace", + "in": "path" }, { - "in": "query", - "name": "environment_name", - "required": false, + "required": true, "schema": { - "title": "Environment Name", - "type": "string" + "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" + } } } - ], + }, "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": "Ui Get Setting", + } + }, + "delete": { "tags": [ - "ui" - ] - } - }, - "/admin/setting/{namespace}/": { - "get": { - "operationId": "ui_get_setting_admin_setting__namespace___get", + "api" + ], + "summary": "Api Delete Environment", + "operationId": "api_delete_environment_api_v1_environment__namespace___name___delete", "parameters": [ { - "in": "path", - "name": "namespace", "required": true, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "string", + "title": "Namespace" + }, + "name": "namespace", + "in": "path" }, { - "in": "query", - "name": "environment_name", - "required": false, + "required": true, "schema": { - "title": "Environment Name", - "type": "string" - } + "type": "string", + "title": "Name" + }, + "name": "name", + "in": "path" } ], "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": "Ui Get Setting", - "tags": [ - "ui" - ] + } } }, - "/admin/setting/{namespace}/{environment_name}/": { + "/api/v1/specification/": { "get": { - "operationId": "ui_get_setting_admin_setting__namespace___environment_name___get", + "tags": [ + "api" + ], + "summary": "Api Get Specification", + "operationId": "api_get_specification_api_v1_specification__get", "parameters": [ { - "in": "path", - "name": "namespace", - "required": true, + "required": false, "schema": { - "title": "Namespace", - "type": "string" - } + "items": { + "type": "string" + }, + "type": "array", + "title": "Channel", + "default": [] + }, + "name": "channel", + "in": "query" }, { - "in": "path", - "name": "environment_name", - "required": true, + "required": false, "schema": { - "title": "Environment Name", - "type": "string" - } + "items": { + "type": "string" + }, + "type": "array", + "title": "Conda", + "default": [] + }, + "name": "conda", + "in": "query" + }, + { + "required": false, + "schema": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Pip", + "default": [] + }, + "name": "pip", + "in": "query" + }, + { + "required": false, + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/APIGetSpecificationFormat" + } + ], + "default": "yaml" + }, + "name": "format", + "in": "query" } ], "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": "Ui Get Setting", + } + }, + "post": { "tags": [ - "ui" - ] - } - }, - "/admin/user/": { - "get": { - "operationId": "ui_get_user_admin_user__get", - "responses": { - "200": { - "content": { - "application/json": { - "schema": {} + "api" + ], + "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" } - }, - "description": "Successful Response" + } } }, - "summary": "Ui Get User", - "tags": [ - "ui" - ] - } - }, - "/api/v1/": { - "get": { - "operationId": "api_status_api_v1__get", "responses": { "200": { + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIGetStatus" + "$ref": "#/components/schemas/APIPostSpecification" } } - }, - "description": "Successful Response" + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } } - }, - "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", - "type": "array" - } + "default": [] + }, + "name": "packages", + "in": "query" }, { - "in": "query", - "name": "artifact", "required": false, "schema": { "$ref": "#/components/schemas/BuildArtifactType" - } + }, + "name": "artifact", + "in": "query" }, { - "in": "query", - "name": "environment_id", "required": false, "schema": { - "title": "Environment Id", - "type": "integer" - } + "type": "integer", + "title": "Environment Id" + }, + "name": "environment_id", + "in": "query" }, { - "in": "query", - "name": "name", "required": false, "schema": { - "title": "Name", - "type": "string" - } + "type": "string", + "title": "Name" + }, + "name": "name", + "in": "query" }, { - "in": "query", - "name": "namespace", "required": false, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "string", + "title": "Namespace" + }, + "name": "namespace", + "in": "query" }, { - "in": "query", - "name": "page", "required": false, "schema": { - "default": 1, + "type": "integer", "title": "Page", - "type": "integer" - } + "default": 1 + }, + "name": "page", + "in": "query" }, { - "in": "query", - "name": "order", "required": false, "schema": { - "title": "Order", - "type": "string" - } + "type": "string", + "title": "Order" + }, + "name": "order", + "in": "query" }, { - "in": "query", - "name": "size", "required": false, "schema": { - "title": "Size", - "type": "integer" - } + "type": "integer", + "title": "Size" + }, + "name": "size", + "in": "query" }, { - "in": "query", - "name": "sort_by", "required": false, "schema": { - "default": [], "items": { "type": "string" }, + "type": "array", "title": "Sort By", - "type": "array" - } + "default": [] + }, + "name": "sort_by", + "in": "query" } ], "responses": { "200": { + "description": "Successful Response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/APIListBuild" } } - }, - "description": "Successful Response" + } }, "422": { + "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - }, - "description": "Validation Error" + } } - }, - "summary": "Api List Builds", - "tags": [ - "api" - ] + } } }, "/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": { - "title": "Build Id", - "type": "integer" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIAckResponse" - } - } - }, - "description": "Successful Response" - }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - }, - "description": "Validation Error" - } - }, - "summary": "Api Delete Build", + "get": { "tags": [ "api" - ] - }, - "get": { + ], + "summary": "Api Get Build", "operationId": "api_get_build_api_v1_build__build_id___get", "parameters": [ { - "in": "path", - "name": "build_id", "required": true, "schema": { - "title": "Build Id", - "type": "integer" - } + "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" } } - }, - "description": "Validation Error" + } } - }, - "summary": "Api Get Build", - "tags": [ - "api" - ] + } }, "put": { + "tags": [ + "api" + ], + "summary": "Api Put Build", "operationId": "api_put_build_api_v1_build__build_id___put", "parameters": [ { - "in": "path", - "name": "build_id", "required": true, "schema": { - "title": "Build Id", - "type": "integer" - } + "type": "integer", + "title": "Build Id" + }, + "name": "build_id", + "in": "path" } ], "responses": { "200": { + "description": "Successful Response", "content": { "application/json": { "schema": { "$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", + } + }, + "delete": { "tags": [ "api" - ] - } - }, - "/api/v1/build/{build_id}/archive/": { - "get": { - "operationId": "api_get_build_archive_api_v1_build__build_id__archive__get", + ], + "summary": "Api Delete Build", + "operationId": "api_delete_build_api_v1_build__build_id___delete", "parameters": [ { - "in": "path", - "name": "build_id", "required": true, "schema": { - "title": "Build Id", - "type": "integer" - } + "type": "integer", + "title": "Build Id" + }, + "name": "build_id", + "in": "path" } ], "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 Get Build Archive", - "tags": [ - "api" - ] + } } }, "/api/v1/build/{build_id}/cancel/": { "put": { + "tags": [ + "api" + ], + "summary": "Api Put Build Cancel", "operationId": "api_put_build_cancel_api_v1_build__build_id__cancel__put", "parameters": [ { - "in": "path", - "name": "build_id", "required": true, "schema": { - "title": "Build Id", - "type": "integer" - } + "type": "integer", + "title": "Build Id" + }, + "name": "build_id", + "in": "path" } ], "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" + } } - }, - "summary": "Api Put Build Cancel", - "tags": [ - "api" - ] + } } }, - "/api/v1/build/{build_id}/conda-lock.yaml": { + "/api/v1/build/{build_id}/packages/": { "get": { - "operationId": "api_get_build_conda_lock_file_api_v1_build__build_id__conda_lock_yaml_get", + "tags": [ + "api" + ], + "summary": "Api Get Build Packages", + "operationId": "api_get_build_packages_api_v1_build__build_id__packages__get", "parameters": [ { - "in": "path", - "name": "build_id", "required": true, "schema": { - "title": "Build Id", - "type": "integer" - } + "type": "integer", + "title": "Build Id" + }, + "name": "build_id", + "in": "path" }, { - "in": "query", - "name": "namespace", "required": false, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "string", + "title": "Search" + }, + "name": "search", + "in": "query" }, { - "in": "query", - "name": "environment_name", "required": false, "schema": { - "title": "Environment Name", - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "text/plain": { - "schema": { - "type": "string" - } - } + "type": "string", + "title": "Exact" }, - "description": "Successful Response" + "name": "exact", + "in": "query" }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - }, - "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": [ { - "in": "path", - "name": "build_id", - "required": true, + "required": false, "schema": { - "title": "Build Id", - "type": "integer" - } + "type": "string", + "title": "Build" + }, + "name": "build", + "in": "query" }, { - "in": "query", - "name": "namespace", "required": false, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "integer", + "title": "Page", + "default": 1 + }, + "name": "page", + "in": "query" }, { - "in": "query", - "name": "environment_name", "required": false, "schema": { - "title": "Environment Name", - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "text/plain": { - "schema": { - "type": "string" - } - } + "type": "string", + "title": "Order" }, - "description": "Successful Response" + "name": "order", + "in": "query" }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } + { + "required": false, + "schema": { + "type": "integer", + "title": "Size" }, - "description": "Validation Error" - } - }, - "summary": "Api Get Build Lockfile", - "tags": [ - "api" - ] - } - }, - "/api/v1/build/{build_id}/docker/": { - "get": { - "operationId": "api_get_build_docker_image_url_api_v1_build__build_id__docker__get", - "parameters": [ + "name": "size", + "in": "query" + }, { - "in": "path", - "name": "build_id", - "required": true, + "required": false, "schema": { - "title": "Build Id", - "type": "integer" - } + "items": { + "type": "string" + }, + "type": "array", + "title": "Sort By", + "default": [] + }, + "name": "sort_by", + "in": "query" } ], "responses": { "200": { + "description": "Successful Response", "content": { "application/json": { - "schema": {} + "schema": { + "$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 Docker Image Url", - "tags": [ - "api" - ] + } } }, - "/api/v1/build/{build_id}/installer/": { + "/api/v1/build/{build_id}/logs/": { "get": { - "operationId": "api_get_build_installer_api_v1_build__build_id__installer__get", + "tags": [ + "api" + ], + "summary": "Api Get Build Logs", + "operationId": "api_get_build_logs_api_v1_build__build_id__logs__get", "parameters": [ { - "in": "path", - "name": "build_id", "required": true, "schema": { - "title": "Build Id", - "type": "integer" - } + "type": "integer", + "title": "Build Id" + }, + "name": "build_id", + "in": "path" } ], "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 Installer", - "tags": [ - "api" - ] + } } }, - "/api/v1/build/{build_id}/lockfile/": { + "/api/v1/channel/": { "get": { - "operationId": "api_get_build_lockfile_api_v1_build__build_id__lockfile__get", + "tags": [ + "api" + ], + "summary": "Api List Channels", + "operationId": "api_list_channels_api_v1_channel__get", "parameters": [ { - "in": "path", - "name": "build_id", - "required": true, + "required": false, "schema": { - "title": "Build Id", - "type": "integer" - } + "type": "integer", + "title": "Page", + "default": 1 + }, + "name": "page", + "in": "query" }, { - "in": "query", - "name": "namespace", "required": false, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "string", + "title": "Order" + }, + "name": "order", + "in": "query" }, { - "in": "query", - "name": "environment_name", "required": false, "schema": { - "title": "Environment Name", - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "text/plain": { - "schema": { - "type": "string" - } - } + "type": "integer", + "title": "Size" }, - "description": "Successful Response" + "name": "size", + "in": "query" }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - }, - "description": "Validation Error" - } - }, - "summary": "Api Get Build Lockfile", - "tags": [ - "api" - ] - } - }, - "/api/v1/build/{build_id}/logs/": { - "get": { - "operationId": "api_get_build_logs_api_v1_build__build_id__logs__get", - "parameters": [ { - "in": "path", - "name": "build_id", - "required": true, + "required": false, "schema": { - "title": "Build Id", - "type": "integer" - } + "items": { + "type": "string" + }, + "type": "array", + "title": "Sort By", + "default": [] + }, + "name": "sort_by", + "in": "query" } ], "responses": { "200": { + "description": "Successful Response", "content": { "application/json": { - "schema": {} + "schema": { + "$ref": "#/components/schemas/APIListCondaChannel" + } } - }, - "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/build/{build_id}/packages/": { + "/api/v1/package/": { "get": { - "operationId": "api_get_build_packages_api_v1_build__build_id__packages__get", + "tags": [ + "api" + ], + "summary": "Api List Packages", + "operationId": "api_list_packages_api_v1_package__get", "parameters": [ { - "in": "path", - "name": "build_id", - "required": true, + "required": false, "schema": { - "title": "Build Id", - "type": "integer" - } + "type": "string", + "title": "Search" + }, + "name": "search", + "in": "query" }, { - "in": "query", - "name": "search", "required": false, "schema": { - "title": "Search", - "type": "string" - } + "type": "string", + "title": "Exact" + }, + "name": "exact", + "in": "query" }, { - "in": "query", - "name": "exact", "required": false, "schema": { - "title": "Exact", - "type": "string" - } + "type": "string", + "title": "Build" + }, + "name": "build", + "in": "query" }, { - "in": "query", - "name": "build", "required": false, "schema": { - "title": "Build", - "type": "string" - } + "items": { + "type": "string" + }, + "type": "array", + "title": "Distinct On", + "default": [] + }, + "name": "distinct_on", + "in": "query" }, { - "in": "query", - "name": "page", "required": false, "schema": { - "default": 1, + "type": "integer", "title": "Page", - "type": "integer" - } + "default": 1 + }, + "name": "page", + "in": "query" }, { - "in": "query", - "name": "order", "required": false, "schema": { - "title": "Order", - "type": "string" - } + "type": "string", + "title": "Order" + }, + "name": "order", + "in": "query" }, { - "in": "query", - "name": "size", "required": false, "schema": { - "title": "Size", - "type": "integer" - } + "type": "integer", + "title": "Size" + }, + "name": "size", + "in": "query" }, { - "in": "query", - "name": "sort_by", "required": false, "schema": { - "default": [], "items": { "type": "string" }, + "type": "array", "title": "Sort By", - "type": "array" - } + "default": [] + }, + "name": "sort_by", + "in": "query" } ], "responses": { "200": { + "description": "Successful Response", "content": { "application/json": { "schema": { "$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/build/{build_id}/yaml/": { "get": { + "tags": [ + "api" + ], + "summary": "Api Get Build Yaml", "operationId": "api_get_build_yaml_api_v1_build__build_id__yaml__get", "parameters": [ { - "in": "path", - "name": "build_id", "required": true, "schema": { - "title": "Build Id", - "type": "integer" - } + "type": "integer", + "title": "Build Id" + }, + "name": "build_id", + "in": "path" } ], "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 Yaml", - "tags": [ - "api" - ] + } } }, - "/api/v1/channel/": { + "/api/v1/build/{build_id}/lockfile/": { "get": { - "operationId": "api_list_channels_api_v1_channel__get", + "tags": [ + "api" + ], + "summary": "Api Get Build Lockfile", + "operationId": "api_get_build_lockfile_api_v1_build__build_id__lockfile__get", "parameters": [ { - "in": "query", - "name": "page", - "required": false, - "schema": { - "default": 1, - "title": "Page", - "type": "integer" - } - }, - { - "in": "query", - "name": "order", - "required": false, + "required": true, "schema": { - "title": "Order", - "type": "string" - } + "type": "integer", + "title": "Build Id" + }, + "name": "build_id", + "in": "path" }, { - "in": "query", - "name": "size", "required": false, "schema": { - "title": "Size", - "type": "integer" - } + "type": "string", + "title": "Namespace" + }, + "name": "namespace", + "in": "query" }, { - "in": "query", - "name": "sort_by", "required": false, "schema": { - "default": [], - "items": { - "type": "string" - }, - "title": "Sort By", - "type": "array" - } + "type": "string", + "title": "Environment Name" + }, + "name": "environment_name", + "in": "query" } ], "responses": { "200": { + "description": "Successful Response", "content": { - "application/json": { + "text/plain": { "schema": { - "$ref": "#/components/schemas/APIListCondaChannel" + "type": "string" } } - }, - "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/environment/": { + "/api/v1/build/{build_id}/conda-lock.yaml": { "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", + "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", "parameters": [ { - "in": "query", - "name": "artifact", - "required": false, + "required": true, "schema": { - "$ref": "#/components/schemas/BuildArtifactType" - } + "type": "integer", + "title": "Build Id" + }, + "name": "build_id", + "in": "path" }, { - "in": "query", - "name": "jwt", "required": false, "schema": { - "title": "Jwt", - "type": "string" - } + "type": "string", + "title": "Namespace" + }, + "name": "namespace", + "in": "query" }, { - "in": "query", - "name": "name", "required": false, "schema": { - "title": "Name", - "type": "string" + "type": "string", + "title": "Environment Name" + }, + "name": "environment_name", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "text/plain": { + "schema": { + "type": "string" + } + } } }, - { - "in": "query", - "name": "namespace", - "required": false, - "schema": { - "title": "Namespace", - "type": "string" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } } - }, + } + } + } + }, + "/api/v1/build/{build_id}/conda-lock.yml": { + "get": { + "tags": [ + "api" + ], + "summary": "Api Get Build Lockfile", + "operationId": "api_get_build_lockfile_api_v1_build__build_id__conda_lock_yml_get", + "parameters": [ { - "in": "query", - "name": "packages", - "required": false, + "required": true, "schema": { - "default": [], - "items": { - "type": "string" - }, - "title": "Packages", - "type": "array" - } + "type": "integer", + "title": "Build Id" + }, + "name": "build_id", + "in": "path" }, { - "in": "query", - "name": "search", "required": false, "schema": { - "title": "Search", - "type": "string" - } + "type": "string", + "title": "Namespace" + }, + "name": "namespace", + "in": "query" }, { - "in": "query", - "name": "status", "required": false, "schema": { - "$ref": "#/components/schemas/BuildStatus" + "type": "string", + "title": "Environment Name" + }, + "name": "environment_name", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "text/plain": { + "schema": { + "type": "string" + } + } } }, - { - "in": "query", - "name": "page", - "required": false, - "schema": { - "default": 1, - "title": "Page", - "type": "integer" + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } } - }, + } + } + } + }, + "/api/v1/environment/{namespace}/{environment_name}/lockfile/": { + "get": { + "tags": [ + "api" + ], + "summary": "Api Get Build Lockfile", + "operationId": "api_get_build_lockfile_api_v1_environment__namespace___environment_name__lockfile__get", + "parameters": [ { - "in": "query", - "name": "order", - "required": false, + "required": true, "schema": { - "title": "Order", - "type": "string" - } + "type": "string", + "title": "Namespace" + }, + "name": "namespace", + "in": "path" }, { - "in": "query", - "name": "size", - "required": false, + "required": true, "schema": { - "title": "Size", - "type": "integer" - } + "type": "string", + "title": "Environment Name" + }, + "name": "environment_name", + "in": "path" }, { - "in": "query", - "name": "sort_by", "required": false, - "schema": { - "default": [], - "items": { - "type": "string" - }, - "title": "Sort By", - "type": "array" - } + "schema": { + "type": "integer", + "title": "Build Id" + }, + "name": "build_id", + "in": "query" } ], "responses": { "200": { + "description": "Successful Response", "content": { - "application/json": { + "text/plain": { "schema": { - "$ref": "#/components/schemas/APIListEnvironment" + "type": "string" } } - }, - "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/environment/{namespace}/{environment_name}/": { + "/api/v1/environment/{namespace}/{environment_name}/conda-lock.yaml": { "get": { - "operationId": "api_get_environment_api_v1_environment__namespace___environment_name___get", + "tags": [ + "api" + ], + "summary": "Api Get Build Lockfile", + "operationId": "api_get_build_lockfile_api_v1_environment__namespace___environment_name__conda_lock_yaml_get", "parameters": [ { - "in": "path", - "name": "namespace", "required": true, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "string", + "title": "Namespace" + }, + "name": "namespace", + "in": "path" }, { - "in": "path", - "name": "environment_name", "required": true, "schema": { - "title": "Environment Name", - "type": "string" - } + "type": "string", + "title": "Environment Name" + }, + "name": "environment_name", + "in": "path" + }, + { + "required": false, + "schema": { + "type": "integer", + "title": "Build Id" + }, + "name": "build_id", + "in": "query" } ], "responses": { "200": { + "description": "Successful Response", "content": { - "application/json": { + "text/plain": { "schema": { - "$ref": "#/components/schemas/APIGetEnvironment" + "type": "string" } } - }, - "description": "Successful Response" + } }, "422": { + "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - }, - "description": "Validation Error" + } } - }, - "summary": "Api Get Environment", - "tags": [ - "api" - ] + } } }, - "/api/v1/environment/{namespace}/{environment_name}/conda-lock.yaml": { + "/api/v1/environment/{namespace}/{environment_name}/conda-lock.yml": { "get": { - "operationId": "api_get_build_lockfile_api_v1_environment__namespace___environment_name__conda_lock_yaml_get", + "tags": [ + "api" + ], + "summary": "Api Get Build Lockfile", + "operationId": "api_get_build_lockfile_api_v1_environment__namespace___environment_name__conda_lock_yml_get", "parameters": [ { - "in": "path", - "name": "namespace", "required": true, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "string", + "title": "Namespace" + }, + "name": "namespace", + "in": "path" }, { - "in": "path", - "name": "environment_name", "required": true, "schema": { - "title": "Environment Name", - "type": "string" - } + "type": "string", + "title": "Environment Name" + }, + "name": "environment_name", + "in": "path" }, { - "in": "query", - "name": "build_id", "required": false, "schema": { - "title": "Build Id", - "type": "integer" - } + "type": "integer", + "title": "Build Id" + }, + "name": "build_id", + "in": "query" } ], "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/environment/{namespace}/{environment_name}/conda-lock.yml": { + "/api/v1/build/{build_id}/archive/": { "get": { - "operationId": "api_get_build_lockfile_api_v1_environment__namespace___environment_name__conda_lock_yml_get", + "tags": [ + "api" + ], + "summary": "Api Get Build Archive", + "operationId": "api_get_build_archive_api_v1_build__build_id__archive__get", "parameters": [ { - "in": "path", - "name": "namespace", "required": true, "schema": { - "title": "Namespace", - "type": "string" + "type": "integer", + "title": "Build Id" + }, + "name": "build_id", + "in": "path" + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": {} + } } }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + } + }, + "/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": [ { - "in": "path", - "name": "environment_name", "required": true, "schema": { - "title": "Environment Name", - "type": "string" - } - }, - { - "in": "query", + "type": "integer", + "title": "Build Id" + }, "name": "build_id", - "required": false, - "schema": { - "title": "Build Id", - "type": "integer" - } + "in": "path" } ], "responses": { "200": { + "description": "Successful Response", "content": { - "text/plain": { + "application/json": { + "schema": {} + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { "schema": { - "type": "string" + "$ref": "#/components/schemas/HTTPValidationError" } } + } + } + } + } + }, + "/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, + "schema": { + "type": "integer", + "title": "Build Id" }, - "description": "Successful Response" + "name": "build_id", + "in": "path" + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": {} + } + } }, "422": { + "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - }, - "description": "Validation Error" + } } - }, - "summary": "Api Get Build Lockfile", - "tags": [ - "api" - ] + } } }, - "/api/v1/environment/{namespace}/{environment_name}/lockfile/": { + "/api/v1/setting/{namespace}/{environment_name}/": { "get": { - "operationId": "api_get_build_lockfile_api_v1_environment__namespace___environment_name__lockfile__get", + "tags": [ + "api" + ], + "summary": "Api Get Settings", + "operationId": "api_get_settings_api_v1_setting__namespace___environment_name___get", "parameters": [ { - "in": "path", + "required": true, + "schema": { + "type": "string", + "title": "Namespace" + }, "name": "namespace", + "in": "path" + }, + { "required": true, "schema": { - "title": "Namespace", - "type": "string" + "type": "string", + "title": "Environment Name" + }, + "name": "environment_name", + "in": "path" + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIGetSetting" + } + } } }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + }, + "put": { + "tags": [ + "api" + ], + "summary": "Api Put Settings", + "operationId": "api_put_settings_api_v1_setting__namespace___environment_name___put", + "parameters": [ { - "in": "path", - "name": "environment_name", "required": true, "schema": { - "title": "Environment Name", - "type": "string" - } + "type": "string", + "title": "Namespace" + }, + "name": "namespace", + "in": "path" }, { - "in": "query", - "name": "build_id", - "required": false, + "required": true, "schema": { - "title": "Build Id", - "type": "integer" - } + "type": "string", + "title": "Environment Name" + }, + "name": "environment_name", + "in": "path" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Data" + } + } + }, + "required": true + }, "responses": { "200": { + "description": "Successful Response", "content": { - "text/plain": { + "application/json": { "schema": { - "type": "string" + "$ref": "#/components/schemas/APIPutSetting" } } - }, - "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/environment/{namespace}/{name}/": { - "delete": { - "operationId": "api_delete_environment_api_v1_environment__namespace___name___delete", + "/api/v1/setting/{namespace}/": { + "get": { + "tags": [ + "api" + ], + "summary": "Api Get Settings", + "operationId": "api_get_settings_api_v1_setting__namespace___get", "parameters": [ { - "in": "path", - "name": "namespace", "required": true, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "string", + "title": "Namespace" + }, + "name": "namespace", + "in": "path" }, { - "in": "path", - "name": "name", - "required": true, + "required": false, "schema": { - "title": "Name", - "type": "string" - } + "type": "string", + "title": "Environment Name" + }, + "name": "environment_name", + "in": "query" } ], "responses": { "200": { + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIAckResponse" + "$ref": "#/components/schemas/APIGetSetting" } } - }, - "description": "Successful Response" + } }, "422": { + "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - }, - "description": "Validation Error" + } } - }, - "summary": "Api Delete Environment", - "tags": [ - "api" - ] + } }, "put": { - "operationId": "api_update_environment_build_api_v1_environment__namespace___name___put", + "tags": [ + "api" + ], + "summary": "Api Put Settings", + "operationId": "api_put_settings_api_v1_setting__namespace___put", "parameters": [ { - "in": "path", - "name": "namespace", "required": true, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "string", + "title": "Namespace" + }, + "name": "namespace", + "in": "path" }, { - "in": "path", - "name": "name", - "required": true, + "required": false, "schema": { - "title": "Name", - "type": "string" - } + "type": "string", + "title": "Environment Name" + }, + "name": "environment_name", + "in": "query" } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Body_api_update_environment_build_api_v1_environment__namespace___name___put" + "type": "object", + "title": "Data" } } - } + }, + "required": true }, "responses": { "200": { + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIAckResponse" + "$ref": "#/components/schemas/APIPutSetting" } } - }, - "description": "Successful Response" + } }, "422": { + "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - }, - "description": "Validation Error" + } } - }, - "summary": "Api Update Environment Build", - "tags": [ - "api" - ] + } } }, - "/api/v1/namespace/": { + "/api/v1/setting/": { "get": { - "operationId": "api_list_namespaces_api_v1_namespace__get", + "tags": [ + "api" + ], + "summary": "Api Get Settings", + "operationId": "api_get_settings_api_v1_setting__get", "parameters": [ { - "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" - } + "type": "string", + "title": "Namespace" + }, + "name": "namespace", + "in": "query" }, { - "in": "query", - "name": "sort_by", "required": false, "schema": { - "default": [], - "items": { - "type": "string" - }, - "title": "Sort By", - "type": "array" - } + "type": "string", + "title": "Environment Name" + }, + "name": "environment_name", + "in": "query" } ], "responses": { "200": { + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIListNamespace" + "$ref": "#/components/schemas/APIGetSetting" } } - }, - "description": "Successful Response" + } }, "422": { + "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - }, - "description": "Validation Error" + } } - }, - "summary": "Api List Namespaces", + } + }, + "put": { "tags": [ "api" - ] - } - }, - "/api/v1/namespace/{namespace}/": { - "delete": { - "operationId": "api_delete_namespace_api_v1_namespace__namespace___delete", + ], + "summary": "Api Put Settings", + "operationId": "api_put_settings_api_v1_setting__put", "parameters": [ { - "in": "path", + "required": false, + "schema": { + "type": "string", + "title": "Namespace" + }, "name": "namespace", - "required": true, + "in": "query" + }, + { + "required": false, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "string", + "title": "Environment Name" + }, + "name": "environment_name", + "in": "query" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Data" + } + } + }, + "required": true + }, "responses": { "200": { + "description": "Successful Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIAckResponse" + "$ref": "#/components/schemas/APIPutSetting" } } - }, - "description": "Successful Response" + } }, "422": { + "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - }, - "description": "Validation Error" + } } - }, - "summary": "Api Delete Namespace", + } + } + }, + "/v2/": { + "get": { "tags": [ - "api" - ] - }, + "registry" + ], + "summary": "V2", + "operationId": "v2_v2__get", + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": {} + } + } + } + } + } + }, + "/v2/{rest}": { "get": { - "operationId": "api_get_namespace_api_v1_namespace__namespace___get", + "tags": [ + "registry" + ], + "summary": "List Tags", + "operationId": "list_tags_v2__rest__get", "parameters": [ { - "in": "path", - "name": "namespace", "required": true, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "string", + "title": "Rest" + }, + "name": "rest", + "in": "path" } ], "responses": { "200": { + "description": "Successful Response", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/APIGetNamespace" - } + "schema": {} } - }, - "description": "Successful Response" + } }, "422": { + "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - }, - "description": "Validation Error" + } } - }, - "summary": "Api Get Namespace", + } + } + }, + "/admin/create/": { + "get": { "tags": [ - "api" - ] - }, - "post": { - "operationId": "api_create_namespace_api_v1_namespace__namespace___post", + "ui" + ], + "summary": "Ui Create Get Environment", + "operationId": "ui_create_get_environment_admin_create__get", + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": {} + } + } + } + } + } + }, + "/admin/": { + "get": { + "tags": [ + "ui" + ], + "summary": "Ui List Environments", + "operationId": "ui_list_environments_admin__get", "parameters": [ { - "in": "path", - "name": "namespace", - "required": true, + "required": false, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "string", + "title": "Search" + }, + "name": "search", + "in": "query" } ], "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": "Api Create Namespace", + } + } + }, + "/admin/namespace/": { + "get": { "tags": [ - "api" - ] - }, - "put": { - "operationId": "api_update_namespace_api_v1_namespace__namespace___put", + "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}/": { + "get": { + "tags": [ + "ui" + ], + "summary": "Ui Get Environment", + "operationId": "ui_get_environment_admin_environment__namespace___environment_name___get", "parameters": [ { - "in": "path", + "required": true, + "schema": { + "type": "string", + "title": "Namespace" + }, "name": "namespace", + "in": "path" + }, + { "required": true, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "string", + "title": "Environment Name" + }, + "name": "environment_name", + "in": "path" } ], - "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": { - "$ref": "#/components/schemas/APIAckResponse" - } + "schema": {} } - }, - "description": "Successful Response" + } }, "422": { + "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - }, - "description": "Validation Error" + } } - }, - "summary": "Api Update Namespace", - "tags": [ - "api" - ] + } } }, - "/api/v1/namespace/{namespace}/metadata": { - "put": { - "operationId": "api_update_namespace_metadata_api_v1_namespace__namespace__metadata_put", + "/admin/environment/{namespace}/{environment_name}/edit/": { + "get": { + "tags": [ + "ui" + ], + "summary": "Ui Edit Environment", + "operationId": "ui_edit_environment_admin_environment__namespace___environment_name__edit__get", "parameters": [ { - "in": "path", + "required": true, + "schema": { + "type": "string", + "title": "Namespace" + }, "name": "namespace", + "in": "path" + }, + { "required": true, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "string", + "title": "Environment Name" + }, + "name": "environment_name", + "in": "path" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "title": "Metadata", - "type": "object" - } - } - } - }, "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": "Api Update Namespace Metadata", - "tags": [ - "api" - ] + } } }, - "/api/v1/namespace/{namespace}/role": { - "delete": { - "operationId": "api_delete_namespace_role_api_v1_namespace__namespace__role_delete", + "/admin/build/{build_id}/": { + "get": { + "tags": [ + "ui" + ], + "summary": "Ui Get Build", + "operationId": "ui_get_build_admin_build__build_id___get", "parameters": [ { - "in": "path", - "name": "namespace", "required": true, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "integer", + "title": "Build Id" + }, + "name": "build_id", + "in": "path" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIDeleteNamespaceRole" - } - } - }, - "required": true - }, "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": "Api Delete Namespace Role", + } + } + }, + "/admin/user/": { + "get": { "tags": [ - "api" - ] - }, + "ui" + ], + "summary": "Ui Get User", + "operationId": "ui_get_user_admin_user__get", + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": {} + } + } + } + } + } + }, + "/admin/setting/{namespace}/{environment_name}/": { "get": { - "operationId": "api_get_namespace_role_api_v1_namespace__namespace__role_get", + "tags": [ + "ui" + ], + "summary": "Ui Get Setting", + "operationId": "ui_get_setting_admin_setting__namespace___environment_name___get", "parameters": [ { - "in": "path", - "name": "namespace", "required": true, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "string", + "title": "Namespace" + }, + "name": "namespace", + "in": "path" }, { - "in": "query", - "name": "other_namespace", "required": true, "schema": { - "title": "Other Namespace", - "type": "string" - } + "type": "string", + "title": "Environment Name" + }, + "name": "environment_name", + "in": "path" } ], "responses": { "200": { + "description": "Successful Response", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/APIResponse" - } + "schema": {} } - }, - "description": "Successful Response" + } }, "422": { + "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } - }, - "description": "Validation Error" + } } - }, - "summary": "Api Get Namespace Role", + } + } + }, + "/admin/setting/{namespace}/": { + "get": { "tags": [ - "api" - ] - }, - "post": { - "operationId": "api_create_namespace_role_api_v1_namespace__namespace__role_post", + "ui" + ], + "summary": "Ui Get Setting", + "operationId": "ui_get_setting_admin_setting__namespace___get", "parameters": [ { - "in": "path", - "name": "namespace", "required": true, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "string", + "title": "Namespace" + }, + "name": "namespace", + "in": "path" + }, + { + "required": false, + "schema": { + "type": "string", + "title": "Environment Name" + }, + "name": "environment_name", + "in": "query" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIPostNamespaceRole" - } - } - }, - "required": true - }, "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": "Api Create Namespace Role", + } + } + }, + "/admin/setting/": { + "get": { "tags": [ - "api" - ] - }, - "put": { - "operationId": "api_update_namespace_role_api_v1_namespace__namespace__role_put", + "ui" + ], + "summary": "Ui Get Setting", + "operationId": "ui_get_setting_admin_setting__get", "parameters": [ { - "in": "path", + "required": false, + "schema": { + "type": "string", + "title": "Namespace" + }, "name": "namespace", - "required": true, + "in": "query" + }, + { + "required": false, "schema": { - "title": "Namespace", - "type": "string" - } + "type": "string", + "title": "Environment Name" + }, + "name": "environment_name", + "in": "query" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIPutNamespaceRole" - } - } - }, - "required": true - }, "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": "Api Update Namespace Role", + } + } + }, + "/": { + "get": { "tags": [ - "api" - ] + "conda-store-ui" + ], + "summary": "Get Conda Store Ui", + "operationId": "get_conda_store_ui__get", + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": {} + } + } + } + } } }, - "/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" + "/metrics": { + "get": { + "tags": [ + "metrics" + ], + "summary": "Prometheus Metrics", + "operationId": "prometheus_metrics_metrics_get", + "responses": { + "200": { + "description": "Successful Response", + "content": { + "text/plain": { + "schema": { + "type": "string" + } + } } } + } + } + }, + "/celery": { + "get": { + "tags": [ + "metrics" ], + "summary": "Trigger Task", + "operationId": "trigger_task_celery_get", "responses": { "200": { + "description": "Successful Response", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/APIAckResponse" - } + "schema": {} } - }, - "description": "Successful Response" + } + } + } + } + } + }, + "components": { + "schemas": { + "APIAckResponse": { + "properties": { + "status": { + "$ref": "#/components/schemas/APIStatus" }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - }, - "description": "Validation Error" + "message": { + "type": "string", + "title": "Message" } }, - "summary": "Api Delete Namespace Roles", - "tags": [ - "api" - ] + "type": "object", + "required": [ + "status" + ], + "title": "APIAckResponse" }, - "get": { - "operationId": "api_get_namespace_roles_api_v1_namespace__namespace__roles_get", - "parameters": [ - { - "in": "path", - "name": "namespace", - "required": true, - "schema": { - "title": "Namespace", - "type": "string" - } + "APIDeleteNamespaceRole": { + "properties": { + "other_namespace": { + "type": "string", + "title": "Other Namespace" } + }, + "type": "object", + "required": [ + "other_namespace" ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIResponse" - } - } - }, - "description": "Successful Response" + "title": "APIDeleteNamespaceRole" + }, + "APIGetBuild": { + "properties": { + "status": { + "$ref": "#/components/schemas/APIStatus" }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - }, - "description": "Validation Error" + "data": { + "$ref": "#/components/schemas/Build" + }, + "message": { + "type": "string", + "title": "Message" } }, - "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" - } + "type": "object", + "required": [ + "status", + "data" + ], + "title": "APIGetBuild" + }, + "APIGetEnvironment": { + "properties": { + "status": { + "$ref": "#/components/schemas/APIStatus" }, - { - "in": "query", - "name": "exact", - "required": false, - "schema": { - "title": "Exact", - "type": "string" - } + "data": { + "$ref": "#/components/schemas/Environment" }, - { - "in": "query", - "name": "build", - "required": false, - "schema": { - "title": "Build", - "type": "string" - } + "message": { + "type": "string", + "title": "Message" + } + }, + "type": "object", + "required": [ + "status", + "data" + ], + "title": "APIGetEnvironment" + }, + "APIGetNamespace": { + "properties": { + "status": { + "$ref": "#/components/schemas/APIStatus" }, - { - "in": "query", - "name": "distinct_on", - "required": false, - "schema": { - "default": [], + "data": { + "$ref": "#/components/schemas/Namespace" + }, + "message": { + "type": "string", + "title": "Message" + } + }, + "type": "object", + "required": [ + "status", + "data" + ], + "title": "APIGetNamespace" + }, + "APIGetPermission": { + "properties": { + "status": { + "$ref": "#/components/schemas/APIStatus" + }, + "data": { + "$ref": "#/components/schemas/APIGetPermissionData" + }, + "message": { + "type": "string", + "title": "Message" + } + }, + "type": "object", + "required": [ + "status", + "data" + ], + "title": "APIGetPermission" + }, + "APIGetPermissionData": { + "properties": { + "authenticated": { + "type": "boolean", + "title": "Authenticated" + }, + "primary_namespace": { + "type": "string", + "title": "Primary Namespace" + }, + "entity_permissions": { + "additionalProperties": { "items": { "type": "string" }, - "title": "Distinct On", "type": "array" - } - }, - { - "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" - } + }, + "type": "object", + "title": "Entity Permissions" }, - { - "in": "query", - "name": "sort_by", - "required": false, - "schema": { - "default": [], + "entity_roles": { + "additionalProperties": { "items": { "type": "string" }, - "title": "Sort By", "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" ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIListCondaPackage" - } - } - }, - "description": "Successful Response" + "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" + }, + "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" }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } + "data": { + "additionalProperties": { + "type": "object" }, - "description": "Validation Error" + "type": "object", + "title": "Data" + }, + "message": { + "type": "string", + "title": "Message" } }, - "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": "object", + "required": [ + "status", + "data" + ], + "title": "APIGetUsage" + }, + "APIListBuild": { + "properties": { + "status": { + "$ref": "#/components/schemas/APIStatus" + }, + "data": { + "items": { + "$ref": "#/components/schemas/Build" }, - "description": "Successful Response" + "type": "array", + "title": "Data" + }, + "message": { + "type": "string", + "title": "Message" + }, + "page": { + "type": "integer", + "title": "Page" + }, + "size": { + "type": "integer", + "title": "Size" + }, + "count": { + "type": "integer", + "title": "Count" } }, - "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" - } + "type": "object", + "required": [ + "status", + "data", + "page", + "size", + "count" + ], + "title": "APIListBuild" + }, + "APIListCondaChannel": { + "properties": { + "status": { + "$ref": "#/components/schemas/APIStatus" }, - { - "in": "query", - "name": "environment_name", - "required": false, - "schema": { - "title": "Environment Name", - "type": "string" - } + "data": { + "items": { + "$ref": "#/components/schemas/CondaChannel" + }, + "type": "array", + "title": "Data" + }, + "message": { + "type": "string", + "title": "Message" + }, + "page": { + "type": "integer", + "title": "Page" + }, + "size": { + "type": "integer", + "title": "Size" + }, + "count": { + "type": "integer", + "title": "Count" } + }, + "type": "object", + "required": [ + "status", + "data", + "page", + "size", + "count" ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIGetSetting" - } - } - }, - "description": "Successful Response" + "title": "APIListCondaChannel" + }, + "APIListCondaPackage": { + "properties": { + "status": { + "$ref": "#/components/schemas/APIStatus" }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } + "data": { + "items": { + "$ref": "#/components/schemas/CondaPackage" }, - "description": "Validation Error" + "type": "array", + "title": "Data" + }, + "message": { + "type": "string", + "title": "Message" + }, + "page": { + "type": "integer", + "title": "Page" + }, + "size": { + "type": "integer", + "title": "Size" + }, + "count": { + "type": "integer", + "title": "Count" } }, - "summary": "Api Get Settings", - "tags": [ - "api" - ] + "type": "object", + "required": [ + "status", + "data", + "page", + "size", + "count" + ], + "title": "APIListCondaPackage" }, - "put": { - "operationId": "api_put_settings_api_v1_setting__put", - "parameters": [ - { - "in": "query", - "name": "namespace", - "required": false, - "schema": { - "title": "Namespace", - "type": "string" - } + "APIListEnvironment": { + "properties": { + "status": { + "$ref": "#/components/schemas/APIStatus" }, - { - "in": "query", - "name": "environment_name", - "required": false, - "schema": { - "title": "Environment Name", - "type": "string" - } + "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" + }, + "count": { + "type": "integer", + "title": "Count" } + }, + "type": "object", + "required": [ + "status", + "data", + "page", + "size", + "count" ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "title": "Data", - "type": "object" - } - } + "title": "APIListEnvironment" + }, + "APIListNamespace": { + "properties": { + "status": { + "$ref": "#/components/schemas/APIStatus" }, - "required": true - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIPutSetting" - } - } + "data": { + "items": { + "$ref": "#/components/schemas/Namespace" }, - "description": "Successful Response" + "type": "array", + "title": "Data" }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - }, - "description": "Validation Error" + "message": { + "type": "string", + "title": "Message" + }, + "page": { + "type": "integer", + "title": "Page" + }, + "size": { + "type": "integer", + "title": "Size" + }, + "count": { + "type": "integer", + "title": "Count" } }, - "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" - } - }, - { - "in": "query", - "name": "environment_name", - "required": false, - "schema": { - "title": "Environment Name", - "type": "string" - } + "type": "object", + "required": [ + "status", + "data", + "page", + "size", + "count" + ], + "title": "APIListNamespace" + }, + "APIPostNamespaceRole": { + "properties": { + "other_namespace": { + "type": "string", + "title": "Other Namespace" + }, + "role": { + "type": "string", + "title": "Role" } + }, + "type": "object", + "required": [ + "other_namespace", + "role" ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIGetSetting" - } - } - }, - "description": "Successful Response" + "title": "APIPostNamespaceRole" + }, + "APIPostSpecification": { + "properties": { + "status": { + "$ref": "#/components/schemas/APIStatus" }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - }, - "description": "Validation Error" + "data": { + "$ref": "#/components/schemas/APIPostSpecificationData" + }, + "message": { + "type": "string", + "title": "Message" } }, - "summary": "Api Get Settings", - "tags": [ - "api" - ] + "type": "object", + "required": [ + "status", + "data" + ], + "title": "APIPostSpecification" }, - "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" - } + "APIPostSpecificationData": { + "properties": { + "build_id": { + "type": "integer", + "title": "Build Id" } + }, + "type": "object", + "required": [ + "build_id" ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "title": "Data", - "type": "object" - } - } + "title": "APIPostSpecificationData" + }, + "APIPostToken": { + "properties": { + "status": { + "$ref": "#/components/schemas/APIStatus" }, - "required": true - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIPutSetting" - } - } - }, - "description": "Successful Response" + "data": { + "$ref": "#/components/schemas/APIPostTokenData" }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - }, - "description": "Validation Error" + "message": { + "type": "string", + "title": "Message" } }, - "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" - } - }, - { - "in": "path", - "name": "environment_name", - "required": true, - "schema": { - "title": "Environment Name", - "type": "string" - } + "type": "object", + "required": [ + "status", + "data" + ], + "title": "APIPostToken" + }, + "APIPostTokenData": { + "properties": { + "token": { + "type": "string", + "title": "Token" } + }, + "type": "object", + "required": [ + "token" ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIGetSetting" - } - } - }, - "description": "Successful Response" + "title": "APIPostTokenData" + }, + "APIPutNamespaceRole": { + "properties": { + "other_namespace": { + "type": "string", + "title": "Other Namespace" }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - }, - "description": "Validation Error" + "role": { + "type": "string", + "title": "Role" } }, - "summary": "Api Get Settings", - "tags": [ - "api" - ] + "type": "object", + "required": [ + "other_namespace", + "role" + ], + "title": "APIPutNamespaceRole" }, - "put": { - "operationId": "api_put_settings_api_v1_setting__namespace___environment_name___put", - "parameters": [ - { - "in": "path", - "name": "namespace", - "required": true, - "schema": { - "title": "Namespace", - "type": "string" - } + "APIPutSetting": { + "properties": { + "status": { + "$ref": "#/components/schemas/APIStatus" }, - { - "in": "path", - "name": "environment_name", - "required": true, - "schema": { - "title": "Environment Name", - "type": "string" - } + "data": { + "title": "Data" + }, + "message": { + "type": "string", + "title": "Message" } + }, + "type": "object", + "required": [ + "status" ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "title": "Data", - "type": "object" - } - } + "title": "APIPutSetting" + }, + "APIResponse": { + "properties": { + "status": { + "$ref": "#/components/schemas/APIStatus" }, - "required": true + "data": { + "title": "Data" + }, + "message": { + "type": "string", + "title": "Message" + } }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIPutSetting" - } - } - }, - "description": "Successful Response" + "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": "" }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - }, - "description": "Validation Error" + "namespace": { + "type": "string", + "title": "Namespace" + }, + "is_lockfile": { + "type": "boolean", + "title": "Is Lockfile", + "default": false + }, + "environment_name": { + "type": "string", + "title": "Environment Name", + "default": "" + }, + "environment_description": { + "type": "string", + "title": "Environment Description", + "default": "" } }, - "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" - } + "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" }, - { - "in": "query", - "name": "conda", - "required": false, - "schema": { - "default": [], - "items": { - "type": "string" - }, - "title": "Conda", - "type": "array" - } + "expiration": { + "type": "string", + "format": "date-time", + "title": "Expiration" }, - { - "in": "query", - "name": "pip", - "required": false, - "schema": { - "default": [], + "role_bindings": { + "additionalProperties": { "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" - } - } }, - "description": "Validation Error" + "type": "object", + "title": "Role Bindings" } }, - "summary": "Api Get Specification", - "tags": [ - "api" - ] + "type": "object", + "title": "Body_api_post_token_api_v1_token__post" }, - "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" - } - } + "Body_api_update_environment_build_api_v1_environment__namespace___name___put": { + "properties": { + "build_id": { + "type": "integer", + "title": "Build Id" + }, + "description": { + "type": "string", + "title": "Description" } }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIPostSpecification" - } - } - }, - "description": "Successful Response" + "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" }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } + "role_mappings": { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" }, - "description": "Validation Error" - } - }, - "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" - } - } + "type": "object", + "title": "Role Mappings" } }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIPostToken" - } - } - }, - "description": "Successful Response" + "type": "object", + "title": "Body_api_update_namespace_api_v1_namespace__namespace___put" + }, + "Build": { + "properties": { + "id": { + "type": "integer", + "title": "Id" }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } + "environment_id": { + "type": "integer", + "title": "Environment Id" + }, + "specification": { + "$ref": "#/components/schemas/Specification" + }, + "packages": { + "items": { + "$ref": "#/components/schemas/CondaPackage" }, - "description": "Validation Error" - } - }, - "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" - } - } + "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" + }, + "build_artifacts": { + "items": { + "$ref": "#/components/schemas/BuildArtifact" }, - "description": "Successful Response" + "type": "array", + "title": "Build Artifacts" } }, - "summary": "Api Get Usage", - "tags": [ - "api" - ] - } - }, - "/celery": { - "get": { - "operationId": "trigger_task_celery_get", - "responses": { - "200": { - "content": { - "application/json": { - "schema": {} - } - }, - "description": "Successful Response" + "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": "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", + "artifact_type", + "key" ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": {} - } - }, - "description": "Successful Response" + "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" }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - }, - "description": "Validation Error" + "name": { + "type": "string", + "title": "Name" + }, + "last_update": { + "type": "string", + "format": "date-time", + "title": "Last Update" } }, - "summary": "Get Login Method", - "tags": [ - "auth" - ] - }, - "post": { - "operationId": "post_login_method_login__post", - "parameters": [ - { - "in": "query", - "name": "next", - "required": false, - "schema": { - "title": "Next", - "type": "string" - } - } + "type": "object", + "required": [ + "id", + "name" ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": {} - } - }, - "description": "Successful Response" + "title": "CondaChannel" + }, + "CondaPackage": { + "properties": { + "id": { + "type": "integer", + "title": "Id" }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - }, - "description": "Validation Error" + "channel": { + "$ref": "#/components/schemas/CondaChannel" + }, + "license": { + "type": "string", + "title": "License" + }, + "name": { + "type": "string", + "title": "Name" + }, + "version": { + "type": "string", + "title": "Version" + }, + "summary": { + "type": "string", + "title": "Summary" } }, - "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", + "channel", + "name", + "version" ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": {} - } - }, - "description": "Successful Response" + "title": "CondaPackage" + }, + "Environment": { + "properties": { + "id": { + "type": "integer", + "title": "Id" }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - }, - "description": "Validation Error" + "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" } }, - "summary": "Post Logout Method", - "tags": [ - "auth" - ] - } - }, - "/metrics": { - "get": { - "operationId": "prometheus_metrics_metrics_get", - "responses": { - "200": { - "content": { - "text/plain": { - "schema": { - "type": "string" - } - } + "type": "object", + "required": [ + "id", + "namespace", + "name", + "current_build_id" + ], + "title": "Environment" + }, + "HTTPValidationError": { + "properties": { + "detail": { + "items": { + "$ref": "#/components/schemas/ValidationError" }, - "description": "Successful Response" + "type": "array", + "title": "Detail" } }, - "summary": "Prometheus Metrics", - "tags": [ - "metrics" - ] - } - }, - "/v2/": { - "get": { - "operationId": "v2_v2__get", - "responses": { - "200": { - "content": { - "application/json": { - "schema": {} - } + "type": "object", + "title": "HTTPValidationError" + }, + "Namespace": { + "properties": { + "id": { + "type": "integer", + "title": "Id" + }, + "name": { + "type": "string", + "pattern": "^[A-Za-z0-9-+_@$&?^~.=]+$", + "title": "Name" + }, + "metadata_": { + "type": "object", + "title": "Metadata " + }, + "role_mappings": { + "items": { + "$ref": "#/components/schemas/NamespaceRoleMapping" }, - "description": "Successful Response" + "type": "array", + "title": "Role Mappings", + "default": [] } }, - "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" - } + "type": "object", + "required": [ + "id", + "name" + ], + "title": "Namespace" + }, + "NamespaceRoleMapping": { + "properties": { + "id": { + "type": "integer", + "title": "Id" + }, + "entity": { + "type": "string", + "title": "Entity" + }, + "role": { + "type": "string", + "title": "Role" } + }, + "type": "object", + "required": [ + "id", + "entity", + "role" ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": {} - } - }, - "description": "Successful Response" + "title": "NamespaceRoleMapping" + }, + "Specification": { + "properties": { + "id": { + "type": "integer", + "title": "Id" }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" + "name": { + "type": "string", + "title": "Name" + }, + "spec": { + "type": "object", + "title": "Spec" + }, + "sha256": { + "type": "string", + "title": "Sha256" + }, + "created_on": { + "type": "string", + "format": "date-time", + "title": "Created On" + } + }, + "type": "object", + "required": [ + "id", + "name", + "spec", + "sha256", + "created_on" + ], + "title": "Specification" + }, + "ValidationError": { + "properties": { + "loc": { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" } - } + ] }, - "description": "Validation Error" + "type": "array", + "title": "Location" + }, + "msg": { + "type": "string", + "title": "Message" + }, + "type": { + "type": "string", + "title": "Error Type" } }, - "summary": "List Tags", - "tags": [ - "registry" - ] + "type": "object", + "required": [ + "loc", + "msg", + "type" + ], + "title": "ValidationError" } } }